Any company, corporation, lessee, owner, operator, receiver or officer of any company, corporation, owner, lessee, operator or receiver owning or operating a railroad or railway in whole or in part in this state, violating or causing to be violated any of the statutes of this state providing for the safety of employees or other persons on railroads, by providing for power headlights on all engines operated in road service in the nighttime, shall be guilty of a crime, and upon conviction, shall forfeit and pay as a penalty $300.00 for each separate offense, which shall be recovered in a civil action in the name of the state, and the complaint shall be filed by the district attorney for the county in which such crime shall have been committed, and all fines collected under and by virtue of the provisions of this section shall revert to and become a part of the public school fund.
Ala. Code § 37-8-117 (1975)