Before the Islamic State captured Mosul in June 2014, the city was second in size in the country only to Baghdad and home to some 2.4 million people. Over the past two years, however, its citizens have fled in droves, leaving only 750,000 or so behind. This is still a considerable population — more people than in most of the other Iraqi municipalities held by the Islamic State — and those still trapped in the city face a perilous period ahead as Iraqi forces advance toward the jihadist stronghold. Complicating matters, Mosul is also one of Iraq's most diverse cities and the economic engine of the country's northern region. Though the bulk of the population is Sunni, the city also has sizable Kurdish, Shiite, Chaldean, Assyrian, Turkmen and Yazidi communities.