Sen. Ted Cruz grew increasingly frustrated with Fox News’ coverage of the 2016 presidential primaries, exploding in anger after he beat Donald Trump in Wisconsin.

Cruz bested Trump in the state 48% to 34% in April 2016, allowing him to hang on to his presidential bid for another month before calling it quits, according to the new book American Carnage, which was obtained by the Guardian.

After his victory speech, Cruz tuned into Fox News on his campaign bus and was happy to see his photo on the screen given the immense coverage Trump received from all of the cable TV networks.

Then, host Sean Hannity pointed out that Trump had a good shot of winning the upcoming primaries, causing Cruz to erupt.

"What the f---?” the Texas Republican yelled, startling staff members who had never seen him as angry.

Months later, after the death of former Fox News chief Roger Ailes, Cruz told friends he thought it was Ailes’ “dying wish to elect Donald Trump president.”

Cruz and Ailes frequently had breakfast in New York, but as the primary played out, the Fox News executive stopped taking the 2016 candidate’s calls.