Pennsylvania constitution
Article V: the judiciary
Section 13

(d) Course of training, instruction and examination. The course of training and instruction and examination in civil and criminal law and procedure for a justice of the peace shall be devised by the Department of Public Instruction, and it shall administer this course and examination to insure that justices of the peace are competent to perform their duties.