Two FBI agents assigned to special counsel Robert Mueller's investigation into alleged collusion between President Donald Trump's campaign and Russia exchanged texts referring to Trump as an "idiot," Politico reported.

According to the outlet, copies of the 375 texts were turned over to Congress by the Justice Department.

Mueller removed one of the agents, Peter Strzok, from the investigation "immediately" after learning of the texts in late July, the department said in a letter to lawmakers, Politico reported.

The other agent, Lisa Page, had already ended her assignment to Mueller's office.

Both agents showed negative reactions to Trump from early on, Politico reported.

"I just saw my first Bernie Sanders bumper sticker. Made me want to key the car," Page wrote in an August 2015 exchange.

"He's an idiot like Trump. Figure they cancel each other out," Strzok replied.

And responding to a Washington Post story in 2015 about Trump saying it hadn't been proven that Russian President Vladimir Putin had killed anyone, Page wrote: "What an utter idiot."

In a March 2016 message, Page exclaimed: "God Trump is a loathsome human....omg he's an idiot."

"He's awful," Strzok replied.

The agents sometimes expressed support or at least respect for Democratic presidential candidate Hillary Clinton.

"God Hillary should win 100,000,000 — 0," Strzok wrote the same month.

"Also did you hear [Trump] make a comment about the size of his d**k earlier? This man can not be president," Page said later in the exchange.