Pennsylvania constitution
Article V: the judiciary
Section 7

(b) Upon completion of his term, his office is abolished and no judicial function of the kind heretofore exercised by a justice of the peace shall thereafter be exercised other than by the community court.