Any member of the board of election, judge, clerk, sheriff, or any other officers or persons who may be charged with the performance of any duty under this Division, and who shall wilfully fail therein, or shall perform such duty otherwise than is in this Division prescribed, shall be guilty of a Class A misdemeanor.
55 ILCS 5/1-5017