Any person, including any election officer, who shall refuse to permit any election officer, clerk or machine inspector, duly elected or appointed and authorized to act, to perform the duties imposed on him or to act as permitted by this act; or who shall by violence or intimidation threaten or drive away, any such election officer, clerk or machine inspector or who shall, in any manner, prevent any such election officer, clerk or machine inspector from performing his rights and duties under this act, shall be guilty of a misdemeanor, and, upon conviction thereof, shall be sentenced to pay a fine not exceeding one thousand ($1,000) dollars, or to undergo an imprisonment of not less than one (1) month or more than two (2) years, or both, in the discretion of the court.
25 P.S.§ 3508