Whoever:
(1) Knowingly or wilfully obstructs, hinders, assaults or by bribery, solicitation or otherwise interferes with any election officer or challenger in the performance of any duty required of that election officer or challenger or which that election officer or challenger may by law be authorized or permitted to perform; or
(2) By any means before mentioned or otherwise unlawfully on the day of election hinders or prevents any election officer or challenger in that election officer's or challenger's free attendance and presence at the place of election in the election district in which that election officer or challenger is appointed to serve, or in that election officer's or challenger's full and free access and egress to and from any such place of election, or molests, interferes with, removes or ejects from any such place of election any such election officer or challenger, or unlawfully threatens or attempts or offers so to do,
shall be fined not more than $200 or imprisoned not more than 2 years, or both.