Democrats and a few Republicans condemned President Donald Trump’s decision on Friday to pardon former Arizona Sheriff Joe Arpaio, who was convicted in July of criminal contempt for violating a federal judge’s order to stop racially profiling Latinos when enforcing immigration law.

The controversial sheriff, whose tactics have been widely condemned by immigrant rights groups, was set to be sentenced in October to up to six months in jail.

“No one is above the law and the individuals entrusted with the privilege of being sworn law officers should always seek to be beyond reproach in their commitment to fairly enforcing the laws they swore to uphold,” said Republican Arizona Sen. John McCain in a statement. “Mr. Arpaio was found guilty of criminal contempt for continuing to illegally profile Latinos living in Arizona based on their perceived immigration status in violation of a judge’s orders.”

McCain added that Trump’s pardon “undermines his claim for the respect of rule of law as Mr. Arpaio has shown no remorse for his actions.”

The state’s other U.S. Senator, Republican Jeff Flake, also chimed in to say he wished Trump would “honor the judicial process.”

The pardon is the latest issue to pit the Arizona Senators against the President, who spent time criticizing both McCain and Flake at his rally in Phoenix on Tuesday, when he hinted that he might pardon Arpaio. Trump didn’t mention them by name at the rally, but he later followed up on Twitter to say he was “not a fan of Jeff Flake, weak on crime & border!”

Florida Rep. Ileana Ros-Lehtinen, a Republican, also spoke out Friday.

Meanwhile, Senate Minority Leader Chuck Schumer accused Trump of using the heavy focus on Hurricane Harvey to quietly pardon Arpaio. “Joe Arpaio ignored the courts and the rule of law in order to systematically target Latinos in AZ,” he said on Twitter. “The definition of racism and bigotry.”

Here’s how other Democrats reacted:

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Katie Reilly at Katie.Reilly@time.com.