On election night, when most voters were concentrating on battles for congressional seats and governors’ mansions, New York City voters cast ballots for 47 new and incumbent judges serving in the city’s Supreme, Civil and Surrogate’s courts.

While most of the candidates ran unopposed for their seats, there were some competitive races: on Staten Island, Matthew Titone, a Democrat serving in the State Assembly who launched his own law firm 20 years ago, squeaked out a win for Surrogate’s Court judge against Ron Castorina Jr., a Republican and also a state Assemblyman.