A person who has, by virtue of employment as herder, driver, or otherwise, the charge or custody of sheep and who willfully abandons the sheep or allows them to stray from the person's charge or custody shall, upon conviction, be punished by a fine of not less than $100, by imprisonment of not less than 3 months or more than 1 year, or by both. However, if the person who has charge or custody of the sheep gave the owner of the sheep or the owner's authorized agent at least 5 days' notice of the intention to quit employment, the person may not be considered to have abandoned the sheep, within the meaning of this section, by leaving the sheep after the expiration of the period.
§ 81-5-103, MCA