The mayor of every first or second class municipality shall have the power, when necessary, to call upon every inhabitant of the municipality over the age of eighteen years to aid in enforcing the laws and ordinances, and to call out any organized militia within the county in which the municipality is situated, in suppressing riots and other disorderly conduct, or carrying into effect any law or ordinance, subject to the authority of the Governor as commander in chief thereof.
SDCL 9-29-17