Marawi, officially the Islamic City of Marawi (Maranao: Inged a Marawi; ), is a 4th class component city and capital of the province of Lanao del Sur, Philippines. According to the 2020 census, it has a population of 207,010 people. Marawi is located upon the shores of Lake Lanao. It is primarily inhabited by the Maranao people. The city is also called the "summer capital of the south" due to its higher elevation and cooler climate, a nickname it shares with Malaybalay. On May 23, 2017, the city suffered extensive damage during the Battle of Marawi as militants affiliated with the Islamic State of Iraq and the Levant invaded the city and engaged in a massive urban gunfight. The ensuing battle lasted until October 23, 2017, when Defense Secretary Delfin Lorenzana announced the ending of the battle. Major damage of the city was mostly caused by airstrikes carried out by the Philippine Air Force in an attempt to eliminate the militants. History Municipality of Dansalan Around the original Meranaw fortification, Spanish captain Francisco Atienza founded a settlement called Dansalan in October 1639. His forces had come from Iligan and were attempting to conquer the entire Lake Lanao area. Dansalan in Meranaw refers to an anchorage or a port. However, it was abandoned later the same year when thousands of Meranaw soldiers invested the then-fortifying settlement, pressing the Spaniards hard and thus they returned to Iligan, having failed in their quest. The Spaniards only returned to the area when they began the conquest of the Sultanate of Maguindanao in the late 19th century, only to be abandoned once again when the Americans came there in 1900. It served as the capital of the undivided Lanao province from 1907 to 1940. A sovereign of Marawi before 1639 was "Datu Buadi Sa Kayo" who imposed taxation. Granting of charter (1940) and change of name to Marawi (1956) Dansalan became a charted city in 1940. Later, in 1956, Republic Act No. 1552 amended the charter and changed the official name of the city from Dansalan to Marawi. The renaming of the city as the "Islamic City of Marawi" was proposed by Parliamentary Bill No. 261 in the defunct Batasang Pambansa, the former parliament of the Philippines during the Marcos regime, reportedly to attract funds from the Middle East. Siege of Marawi (2017) On May 23, 2017, a pro–Islamic State of Iraq and the Levant