Are NYC Judges Elected?

Are NYC Judges Elected? New York City Civil Court judges are elected from districts to 10-year terms, with vacancies filled by the mayor and service continuing until the last day of December after next election, while Housing Part judges are appointed by the Chief Administrative Judge to five-year terms. Who appoints judges in New York