Every first or second class municipality shall have power to establish, maintain, and regulate a city jail, house of correction, and workhouse for the confinement and reformation of disorderly persons, vagrants, tramps, and idle persons, and persons convicted of violating any ordinance of the municipality, and appoint necessary jailers and keepers.
SDCL 9-29-25