Attorneys for Texas Gov. Rick Perry (R) are formally asking a judge in Austin to throw out the charges against him.

Perry's legal team filed a 60-page motion in district court on Monday seeking the dismissal of charges that he abused his power by vetoing funding for a state corruption office whose director had refused his calls to resign, the Austin American-Statesman reported.

Perry was in a public battle with the director of the office, Travis County district attorney Rosemary Lehmberg, after she was arrested for drunk driving.

The motion argues that Perry was within his constitutional rights to veto the funding and that the charges violate his own First Amendment free speech rights, according to the Statesman.

Perry has been defiant in the face of the charges, holding a pep rally-style press conference before submitting to a mugshot and going ahead with political speeches and travel aimed at increasing his exposure ahead of a possible run for the presidency in 2016.

He's even tried to capitalize on the now-famous mug shot – his political action committee is selling T-shirts emblazoned with the photo for $25.