Any person violating any of the provisions of section five of this article, shall, for the first offense, be guilty of a misdemeanor, and, upon conviction, shall be fined not less than $100 nor more than $500, or, in the discretion of the court, be confined in jail not exceeding twelve months, or both; and, for the second offense, shall be guilty of a felony, and, upon conviction shall be confined in a state correctional facility not less than one nor more than five years.