Peter Strzok, the FBI agent under fire over a series of anti-Trump text messages, was "escorted" from the FBI building, his lawyer confirmed to Fox News on Tuesday.

Strzok's lawyer, Aitan Goelman, argued that even though his client has "played by the rules," he has been targeted by "unfounded personal attacks, political games and inappropriate information leaks."

"All of this seriously calls into question the impartiality of the disciplinary process, which now appears tainted by political influence," a statement from Goelman said.

He said that Strzok "has complied with every FBI procedure, including being escorted from the building as part of the ongoing internal proceedings." The attorney did not say exactly when Strzok was escorted out.

"Instead of publicly calling for a long-serving FBI agent to be summarily fired, politicians should allow the disciplinary process to play out free from political pressure," Goelman said. "Our leaders and the public should be very concerned with how readily such influence has been allowed to undermine due process and the legal protections owed to someone who has served his country for so long. Pete Strzok and the American people deserve better."

The FBI had no comment when contacted by Fox News.

News of Strzok's removal came after Justice Department Inspector General Michael Horowitz confirmed during a Congressional hearing earlier Tuesday that his office was looking into whether Strzok's anti-Trump bias played a role in the launch of the bureau's Russia probe.

Horowitz's report on the Clinton email investigation, which was released last week, revealed a text sent by Strzok to his then-colleague and lover Lisa Page.

The IG report said Page texted Strzok in August 2016, prior to then-candidate Donald Trump's election night win, saying "[Trump's] not ever going to become president, right? Right?!"

"No. No he won't. We'll stop it," Strzok responded.

Roughly 50,000 text messages were sent between the pair over the course of the 2016 presidential campaign and Trump's first year in the White House. Among them included comments that focused on special counsel Robert Mueller's Russia investigation, while others bashed the president.

Others also showed an allegience to former FBI Director James Comey in the wake of his firing.

When asked to comment about the FBI official being escorted from the agency, Rep. Mark Meadows (R-N.C.) told Fox News that "it's way past time for Peter Strzok to hopefully start to find a different career and restore some credibility to the FBI that most of us love and admire and certainly lady justice has to be someone who wears a blindfold and with Peter Strzok it was obvious with his text messages that that was not the case."

Fox Business' Bruce Becker and Fox News' Bill Mears, Brooke Singman, Alex Pappas and Jason Donner contributed to this report.