Any person violating any of the provisions of the two preceding sections [23-1-5, 23-1-6 NMSA 1978] shall be deemed guilty of a felony, and, upon conviction thereof, shall be punished by a fine not exceeding $500 nor less than $100, or by imprisonment in the penitentiary for not less than six months nor more than one year, or by both such fine and imprisonment in the discretion of the court trying such cause.
NMS § 23-1-7