Sheriff Joe Arpaio and former Arizona governor Jan Brewer campaign rally for Republican presidential candidate Donald Trump, Saturday in Phoenix.

Evan Vucci / The Associated Press

PHOENIX — An appeals court has rejected former Sheriff Joe Arpaio's bid to have a jury, rather than a judge, decide whether he is guilty of a criminal contempt-of-court charge for disobeying a court order in a racial profiling case.

The 9th Circuit Court of Appeals ruled Thursday that Arpaio didn't show that his request warranted its intervention in the case.

The former six-term sheriff of metro Phoenix faces the misdemeanor charge for defying a 2011 court order in a racial profiling case to stop his signature immigration patrols.

Arpaio has acknowledged prolonging the patrols, but insists his disobedience wasn't intentional.

If convicted, the 84-year-old could be sentenced up to six months in jail.

His trial is scheduled to begin on June 26.