If any judge of election or minority inspector of election refuses or fails to administer the oath to the officers of election, in the manner required by this act, or if any judge of election, inspector of election, clerk of election, or machine inspector, shall act without being first duly sworn, or if any such person shall sign the written form of oath without being duly sworn, or if any judge of election or minority inspector of election or any other person authorized to administer oaths shall certify that any such person was sworn when he was not, he shall be guilty of a misdemeanor, and, upon conviction thereof, shall be sentenced to pay a fine not exceeding one hundred ($100) dollars, or to undergo an imprisonment not exceeding six (6) months, or both, in the discretion of the court.
25 P.S.§ 3509