Sheriffs wield immense power over U.S. county jails, controlling the lives of a third of the nation’s incarcerated population in addition to acting as enforcers of immigration law.