Pennsylvania constitution
Article V: the judiciary
Section 16

(i) Notwithstanding the provisions of subsection (v) of this section, may complete his term exercising the jurisdiction provided by law and with the compensation provided by law; and
(ii) At the completion of his term, his office is abolished and no jurisdiction of the kind exercised by those officers immediately after the effective date of this article and schedule shall thereafter be exercises other than by the community court.