A Massachusetts judge charged with obstruction of justice for allegedly conspiring to help an illegal immigrant escape from an immigration agent is crying foul, claiming she’s the victim of "political bias."

Shelley Joseph, who is currently suspended from her $184,000-per-year seat on the bench as a Newton District Court judge, accused the man prosecuting her of bias toward strict immigration enforcement in a 12-page letter filed by her attorney, according to the Daily Caller.

Joseph’s legal team is requesting that the court review files she believes show evidence of “political bias” from U.S. Attorney Andrew Lelling and “grossly improper leaks” to the media.

Joseph was charged along with a retired court officer of assisting an illegal immigrant’s escape through a courthouse back door in April 2018 in an effort to escape an Immigration and Customs Enforcement agent waiting in the lobby outside.

The ICE agent was in the courthouse to arrest Jose Medina-Perez, a Dominican national, who was in court because of charges related to a DUI charge.

Joseph was alerted to the ICE agent’s presence during a sidebar conversation with Medina-Perez’s defense attorney and the assistant district attorney, at which point the judge ordered the courtroom clerk to turn the sound recorder off before turning it back on minutes later, a violation of courtroom rules, according to the indictment.

When the recorder was turned back on, it was agreed that Medina-Perez would be released, but rather than go out the main door where the ICE agent was waiting, he exited through a rear exit into a parking lot.

Prosecutors charged Joseph in April 2019 of conspiring to obstruct justice by stopping the recording to conceal her actions and lying about the incident to her superiors.

Joseph faces up to 20 years in prison if convicted.