President Donald Trump on Thursday attacked his own administration's position on renewing Section 702 of the FISA Amendments Act -- and it's all because of something he saw on "Fox & Friends."

"'House votes on controversial FISA ACT today,'" the president wrote on Twitter Thursday morning, quoting from a segment that ran earlier on Fox News. "This is the act that may have been used, with the help of the discredited and phony Dossier, to so badly surveil and abuse the Trump Campaign by the previous administration and others?"

As CNN's Kaitlan Collins points out, the White House on Wednesday night issued a statement urging Congress to "preserve the useful role FISA’s Section 702 authority plays in protecting American lives," which means that Trump is undermining a statement made by his White House less than 12 hours ago.

The president's outburst was a direct response to a "Fox & Friends" segment that aired on Thursday in which legal analyst Andrew Napolitano criticized the White House for wanting to renew Section 702 on the grounds that it allows for warrantless surveillance of Americans who happen to be talking with people living in foreign countries.

Napolitano claimed during the segment that Trump's "woes began" because the Obama administration supposedly conducted warrantless surveillance of the Trump campaign -- although he presented no evidence to back up this claim.

Watch a clip of Napolitano below.