Zohran Mamdani became mayor of New York City just after midnight Thursday, taking the oath of office at an historic, decommissioned subway station in Manhattan.