Sure. And then he didn't do that.I dont think that sheriffs duty is to defend constitution but to abide by and enforce the law written within the constitutional limits.
The nightclub (the county) hired a bouncer (Arpaio) to help maintain security. They were then successfully sued, because he was shown to use his bouncer status to grope hotties (violate civil rights). They revoked his permission to touch patrons (enforce immigration laws). He refused to stop touching patrons. He was fired (voted out) and fined (convicted) for breaching his contract.
Now, I suspect that he groped more hotties while pretending to be a legit bouncer. But he's not been convicted of that.