Republican presidential candidate and former Texas Gov. Rick Perry has spent more than $2 million fighting his abuse-of-power indictment, the Texas Tribune reported Thursday.

Perry used state campaign funds to pay more than $1 million to four law firms for “legal defense” in the first half of the year, according to campaign finance documents that were made public Thursday. The Perry campaign also paid tens of thousands to a New York firm for “legal defense consulting,” according to the Tribune.

The indictment was handed down almost a year ago and alleged that Perry abused his power and coerced a public servant by threatening to veto state funding unless a district attorney stepped down after a drunk driving arrest.

Perry pleaded not guilty to the felony charges in August.

“This indictment is nothing short of an attack on the constitutional powers of the office of governor,” Perry said at a press conference after he turned himself in to be booked and have his mugshot taken at the Travis County Justice Center

Check out his full campaign finance disclosure below: