Matt Drudge was right and the "corporate media" were wrong in calling the 2016 election, according to a new book that examines top White House adviser Steve Bannon's rise to the top.

Bloomberg Businessweek journalist Joshua Green wrote in his new book, "Devil's Bargain: Steve Bannon, Donald Trump and the Storming of the Presidency," that on election night, Bannon, then Trump's top campaign adviser, was nervous and unsure about the looming results.

Green said that at Trump Tower, where the campaign was headquartered, Bannon watched as exit polls came in, showing Democratic nominee Hillary Clinton with a significant lead and polling data published by major news outlets with the same.

"Not knowing what else to do, Bannon called Matt Drudge to ask what he thought," the book said.

"Fuck the corporate media," Drudge reportedly told Bannon. "They've been wrong on everything. They'll be wrong on this."

Drudge, using his influential website the Drudge Report, was widely seen as an early champion of Trump's candidacy. Other journalists frequently mocked the unscientific polls he often published on his website that showed the celebrity billionaire dominating the primary and general election debates.

But, Green wrote, as swing states started flipping in Trump's favor, it became clear that "Drudge was right. The corporate media blew it."

Green's book, published on July 17, chronicles the relationship between Bannon and Trump from their early meetings "years ago" discussing politics to their new place in the White House.