Maricopa County Sheriff Joe Arpaio was in court in Phoenix, Ariz., today to testify in another round of contempt-of-court hearings. Arpaio is accused of defying a judge’s order to stop carrying out his “signature” immigration patrols, reports ABC15.

Chief Deputy Jerry Sheridan acknowledged receiving emails about the agency’s violation of court orders to stop the patrols — court orders that arose from a racial profiling case and which Arpaio reportedly ignored for 18 months.

A small crowd of protesters gathered outside the courtroom as Sheridan testified.