Since when are elected officials immune from prosecution for crimes?
Nobody was pressing (or even alleging) crimes by the sheriff AFAIK.