Automatic removal upon nonjudicial candidacy

42 Pa.C.S. § 3306, under Discipline, Removal and Retirement of Judicial Officers.

42 Pa.C.S. § 3306

A judge who shall file for nomination for or election to any public office other than a judicial office shall forfeit automatically his judicial office.