Fox News host Greg Gutfeld said Thursday that President Trump's transformation from a Democrat to a Republican can be attributed to the network.

Discussing President Trump's latest broadside against CNN on "The Five," Gutfeld said Trump's predilection for lashing out at the media comes from his viewership of Fox News.

"Trump was radicalized by something," Gutfeld said. "He was a Democrat for a long time. He was fairly - he was pro-choice, liberal."

Gutfeld attributed Trump's shift to the right to "when Fox News happened."

"All he's doing, Juan, is what we do, which is we bash the media," Gutfeld said to co-host Juan Williams. "He's turned the White House into kind of like an alternative Fox show."

Williams interjected, "I thought you were trying to help him."

"I'm actually saying it's kind of refreshing," Gutfeld responded.

Trump has frequently attacked outlets such as CNN and The New York Times as "fake news" and "the enemy of the people."

Trump frequently tweets affirmative messages to Fox News and Fox Business programs and personalities such as "Fox & Friends," Tucker Carlson and Lou Dobbs. He also grants fewer televised interviews to non-Fox outlets than to Fox News.