Judges shall devote full time to their judicial duties, and shall not engage in the practice of law, hold office in a political party or political organization, or hold an office or position of profit in the government of the United States, the Commonwealth or any municipal corporation or political subdivision thereof, except in the armed service of the United States or the Commonwealth.
42 Pa.C.S. § 3301