FBI agent Peter Strzok was removed from working within special counsel Robert Mueller's ongoing probe after he was caught sending compromising texts, a new report revealed Saturday.

The deputy head of counterintelligence, who also took lead in the Hillary Clinton email investigation, sent 'anti-Trump' messages to a colleague, three related parties told The New York Times in a statement.

Regulations put in place by the FBI permit individuals to 'privately and publicly' speak on 'political subjects and candidates,' while they are forbidden from working for political campaigns.

Robert Mueller removed FBI agent Peter Strzok from his probe over compromising texts, a new report has revealed

It seems another text exchange was discovered during the Clinton email probe between Strzok and FBI attorney Lisa Page - who were said to be romantically involved.

In a report by The Washington Post, the pair exchanged a thread that 'expressed anti-Trump sentiments and other comments that appeared to favor Clinton,' an anonymous source revealed.

'Officials are now reviewing the communications to see if they show evidence of political bias in their work on the cases, a review which could result in a public report.'

The report comes after Trump’s former national security adviser, Michael Flynn, pleaded guilty Friday to lying to the FBI

Mueller spokesman Peter Carr confirmed Strzok's leave in a statement to The Hill.

'Immediately upon learning of the allegations, the Special Counsel's Office removed Peter Strzok from the investigation,' Carr said.

'Lisa Page completed her brief detail and had returned to the FBI weeks before our office was aware of the allegations.'

The reports come after Trump’s former national security adviser, Michael Flynn, pleaded guilty in federal court for lying to the FBI over an exchange with the Russian ambassador.