A look back at Trump's praise for controversial Sheriff Joe Arpaio

Former Arizona Sheriff Joe Arpaio was found guilty of criminal contempt Monday.

The former Arizona sheriff now faces up to six months in prison for refusing to comply with a 2011 U.S. court order that prohibited him from targeting people he suspected of illegally immigrating to the United States in traffic patrols, the Associated Press reported.

Arpaio was an early supporter of Trump, endorsing him during a Jan. 26, 2016 campaign rally months before he won the Republican nomination.

“It’s easy to endorse him,” Arpaio told the crowd of supporters gathered in Marshalltown, Iowa. “Everything I believe in, he’s doing and he’s going to do it when he becomes president.”

Trump would tout Arpaio’s endorsement at several campaign rallies during the election to back his claim that he was “tough on borders.”

“When Sheriff Joe gives you an endorsement, you know you’re the king of the border, right?” Trump said at a campaign rally on Feb. 2, 2016.

While Trump won the presidency partly by promising to crack down on illegal immigration and build a wall along the U.S.-Mexico border, Arpaio lost his bid for re-election in 2016.

Arpaio is set to be sentenced on October 5. His attorneys have said they will appeal.

On Twitter, a number of Trump supporters have been calling on the president to support a “patriot” and pardon Arpaio, which is constitutionally possible.

The constitution states that the president “shall have power to grant reprieves and pardons for offenses against the United States, except in cases of impeachment.”

The White House did not immediately respond to ABC News’ request for comment.

The Associated Press contributed to this report.