Zohran Mamdani was sworn in as mayor of New York City on Thursday, becoming the first Muslim and first person of South Asian descent to lead the nation's largest city.