If the owner of the property referred to in § 31-32-17 or of the nuisance refuses or fails to voluntarily abate the nuisance within a reasonable time, the department, board, or governing body, shall bring a civil action on behalf of the public, in the proper court, to abate the nuisance. If abatement is ordered in the suit, the cost of the action shall be charged against the owner of the land on which the nuisance was maintained and against whom the action in abatement was brought.
SDCL 31-32-18