Any person who shall on the day of any primary or election visit any polling place at which he is not entitled to vote and at which he is not entitled to be present under any provision of this act, and shall use any intimidation or violence for the purpose of preventing any election officer from performing the duties required of him by this act, or for the purpose of preventing any qualified elector from exercising his right to vote or from exercising his right to challenge any person offering to vote, or for the purpose of influencing the vote of any elector, he shall be guilty of a felony of the third degree, and, upon conviction thereof, shall be sentenced to pay a fine not exceeding fifteen thousand ($15,000) dollars, or to undergo an imprisonment of not more than seven (7) years, or both, in the discretion of the court.
25 P.S.§ 3528