It shall be lawful for any person to castrate or cause to be castrated any animal described in § 40-28-1 found running at large; but if any person shall castrate any stallion, bull, ram, or boar, and it shall be proved that such animal was not of a class of stock prohibited from running at large by § 40-28-1, such person shall be liable for damages to the amount of the value of such animal so castrated.
SDCL 40-28-2