Whoever, being an election officer:
(1) In any manner attempts to influence, persuade, intimidate, bribe or coerce any voter in the marking of the voter's ballot, or in the making of the choice of the persons for whom the voter votes; or
(2) Discloses the manner in which any person has voted;
shall be deemed to have knowingly and wilfully violated the election officer's own official duty, shall be guilty of wilful and deliberate perjury, and, in addition to the penalties and disabilities annexed to such crime, be fined not more than $500 and may be imprisoned not more than 2 years.