WASHINGTON—The FBI has fired a longtime agent who once worked on special counsel Robert Mueller’s Russia investigation over text messages criticizing President Donald Trump.

Former agent Peter Strzok was removed from Mueller’s team a year ago after the text messages were first discovered, and the FBI had been reviewing his employment. Strzok’s lawyer said he was fired late Friday by FBI Deputy Director David Bowdich.

The lawyer, Aitan Goelman, criticized the firing in a statement Monday, saying he was removed because of political pressure and “to punish Special Agent Strzok for political speech protected by the First Amendment.” He said the firing “should be deeply troubling to all Americans.”

Goelman said that the FBI had overruled the FBI’s Office of Professional Responsibility, which he said had determined that a 60-day suspension and demotion from supervisory duties was “the appropriate punishment.”

The FBI did not have immediate comment.

Strzok vigorously defended himself at a combative House hearing in July, speaking publicly for the first time since the texts were revealed. He insisted that the texts — including ones in which he called Trump a “disaster” and said “We’ll stop” a Trump candidacy — did not reflect political bias and had not affected his investigations.

Strzok was also a lead investigator on the probe into Democrat Hillary Clinton’s email server in 2016.

Republicans were livid at the hearing, which several times devolved into a partisan shouting match. Democrats accused Republicans of trying to divert attention from Mueller’s investigation and Trump’s ties to Russia by excessively focusing on Strzok.

Trump has repeatedly taken aim at Strzok on Twitter, saying his critical text messages showed that Mueller’s investigation is a hoax.

House Republicans cheered Strzok’s firing, with House Majority Leader Kevin McCarthy saying on Twitter that it was “long overdue.”

Wait, before you go…

If you're reading this, you probably already know that non-profit, independent journalism is under threat worldwide. Independent news sites are overshadowed by larger heavily funded mainstream media that inundate us with hype and noise that barely scratch the surface.  We believe that our readers deserve to know the full story. Truthdig writers bravely dig beneath the headlines to give you thought-provoking, investigative reporting and analysis that tells you what’s really happening and who’s rolling up their sleeves to do something about it.

Like you, we believe a well-informed public that doesn’t have blind faith in the status quo can help change the world. Your contribution of as little as $5 monthly or $35 annually will make you a groundbreaking member and lays the foundation of our work.

Support Truthdig