Section 12. Qualifications of justices, judges and justices of the peace
(a) Justices, judges and justices of the peace shall be citizens of the Commonwealth. Justices and judges, except the judges of the traffic court in the City of Philadelphia, shall be members of the bar of the Supreme Court. Justices and judges of statewide courts, for a period of one year preceding their election or appointment and during their continuance in office, shall reside within the Commonwealth. Other judges and justices of the peace, for a period of one year preceding their election or appointment and during their continuance in office, shall reside within their respective districts, except as provided in this article for temporary assignments.
(b) Justices of the peace shall be members of the bar of the Supreme Court or shall complete a course of training and instruction in the duties of their respective offices and pass an examination prior to assuming office. Such courses and examinations shall be as provided by law.