Ms. Adams, the City Council speaker, won endorsements from Letitia James, the state attorney general, and from three major unions including District Council 37.
Adrienne Adams, center, was endorsed by the state attorney general, Letitia James, left, and CWA Local 1180, whose president, Gloria Middleton, is on the right.