New york constitution
Article VI: judiciary
Section 26

k. While temporarily assigned pursuant to the provisions of this section, any judge or justice shall have the powers, duties and jurisdiction of a judge or justice of the court to which assigned. After the expiration of any temporary assignment, as provided in this section, the judge or justice assigned shall have all the powers, duties and jurisdiction of a judge or justice of the court to which he or she was assigned with respect to matters pending before him or her during the term of such temporary assignment.