Roby said the district attorney allowed a representative from his office to attend secret grand jury proceedings, which he claims violated the grand jury rules.

In March, King was indicted on allegations of lying about where she lived and giving false information to investigators.

She was removed from the bench.

The filing said the district attorney backed King's opponent, attorney Doug Hammel, in a 2013 election that King won.

"In this case, the grand jury secrecy was clearly violated because a representative of the Orleans Parish District Attorney's Office endorsed Doug Hammel, the ‘front running’ opponent of Ms. King in the race, neither he nor any of his representative should have been present during grand jury proceedings,” the filing read.

The District Attorney’s Office recused itself from the case and it's being handled by the Louisiana Attorney General.

"The media had been alerted about the grand jury's return of a true bill before the presiding judge who took the return and even before Ms. King or her lawyer received notice that there has been an indictment,” the filing said.

Roby is asking a judge to toss out the indictment against King.

"Judge King's opponents desired to and did use the justice system as a tool to accomplish what they could not do during the electoral process, which amounts to an abuse of process, violation of her constitutional rights and a violation of her civil rights,” the filing said.