Each organized township in the state has power, when a municipality with a population of fifty thousand or more is within four miles of the township:

(1) To regulate the depositing of garbage, ashes, offal, or any offensive matter which might endanger the health of its inhabitants;

(2) To compel any privy, sewer or cesspool maintained in such a manner as not to be offensive or endanger the health of any persons in the township;

(3) To prevent the pollution of or any injury to any water supply;

(4) To do what may be necessary or expedient for the promotion of health or the suppression of disease;

(5) To regulate the moving of any house or building into, within, or out of the township, and to prevent the moving into the township of any house or building of dangerous construction or condition, and to require that a license or permit shall first be obtained from the board of township supervisors before any house or building may be moved into, within, or out of the township. The granting of such license or permit shall be within the sound discretion of the board of township supervisors and no house or building shall be moved into, within, or out of the township until such permit or license has first been issued;

(6) To prescribe the manner of constructing buildings and structures to be erected within the township, and to require that a building permit shall be first obtained from the board of township supervisors before the construction of any building or structure within the township;

(7) To prevent and provide for remedying any dangerous construction or condition of any building, enclosure or manufactory or any equipment used therein, and to require all buildings and places to be put in a safe condition;

(8) To regulate and restrict the height, and size of buildings and other structures and the location and use of buildings, structures and land for trade, industry, residence or other purposes, with the object of promoting the health, safety, morals and the general welfare of the township, and for such purpose to divide the township into districts for zoning purposes;

(9) To abate any nuisance found within its corporate limits;

(10) To compel compliance with and to prevent the violation of any of the provisions of this section.

The powers as provided in this section shall be subordinate to any zoning or other powers of the county or adjoining municipality when such powers are, or shall be, exercised by said county or municipality in respect to said township.

Source: SDC 1939, § 58.0201 (9) as added by SL 1959, ch 448, §§ 1, 2; SL 1992, ch 60, § 2.