If any person shall knowingly make a false statement in any affidavit required by the provisions of this act, to be appended to or to accompany a nomination petition or a nomination paper, or if any person shall fraudulently sign any name not his own to any nomination petition or nomination paper, or if any person shall fraudulently alter any nomination petition or nomination paper without the consent of the signers, he shall be guilty of a misdemeanor, and, upon conviction thereof, shall be sentenced to pay a fine not exceeding five hundred ($500) dollars, or to undergo imprisonment of not more than one (1) year, or both, in the discretion of the court.
25 P.S.§ 3513