81-5-102. Driving animals upon railroad track. If a person willfully drives an animal upon a railroad track with intent to injure the corporation or persons owning the railroad and such animal is killed or injured thereby, the person is punishable by a fine not exceeding $50,000 or imprisonment in the state prison not exceeding 5 years, or both, and is liable for all injury or damage occasioned by reason of such act.