Appointment by mayor

N.Y. Family Court Act § 123, under Number, Appointment, Term and Compensation of Judges Within the City of New York.

N.Y. Family Court Act § 123

§ 123. Appointment by mayor. The mayor of the city of New York shall appoint the judges of the family court in counties within the city of New York for a term of ten years.