A nuisance action may not be filed against an agricultural operation unless the plaintiff is an owner or lessee of the real property affected by the conditions alleged to be a nuisance, and the real property is located within one mile of the source of the activity or structure alleged to be a nuisance.
An agricultural operation may not be held liable for nuisance unless the plaintiff proves by clear and convincing evidence that the claim arises out of conduct that did not comply with any county, municipal, state, or federal law or regulation.
SDCL 21-10-25.10