If any clerk of a court knowingly issue a marriage license contrary to law, he shall be confined in jail not exceeding one year, and fined not exceeding $ 500. History Code 1919, § 4541.