PHOENIX — Fresh off his presidential pardon, an emboldened Joe Arpaio on Monday lashed out at his critics and the judge who found him guilty of a crime as his attorneys went to court to throw the court decision that was the basis for his conviction.

The former Arizona sheriff struck a defiant tone in insisting he “didn’t do anything wrong” and questioning whether his judge was fair.

His comments came as President Trump took a similar posture in defending his Friday pardon of the former lawman, blaming the Obama administration for Arpaio’s troubles and calling him a “patriot” who fought against illegal immigration.

“I thought he was treated unbelievably unfairly,” Trump said.

Arpaio called U.S. District Judge Susan Bolton biased and questioned the growing number of critics across the United States who denounced his pardon as a political reward for having been an early supporter of Trump’s campaign.

“Why are they speaking out right now? I’ve been sheriff for 24 years. Are they coming out against me because of a biased judge?” Arpaio told the AP in a phone interview.

Arpaio, who was voted out of office last year, declined to explain how he believes the judge acted unfairly toward him, saying only that “it’s all documented – the bias and everything else.”