Democrats won two contested races for district attorney in the New York metropolitan area Tuesday, with incumbent Madeline Singas winning a second term in Nassau County and Melinda Katz taking over an open seat in Queens County.

Singas, a career prosecutor, was the county’s acting district attorney before she was elected to the office in 2015. She previously led the special victims bureau in the DA’s office.