Democratic candidate Zohran Mamdani was elected Mayor of New York City becoming the city's first Muslim and South Asian to hold the office.