History of Mumbai under Islamic rule
The history of Mumbai under Islamic rule began in 1348 and continued until 1534. History

From 1348 to 1391, the islands were under the Muzaffarid dynasty. In 1391, shortly after the establishment of the Gujarat Sultanate, Muzaffar Shah I was appointed viceroy of north Konkan. For the administration of Bombay islands, he appointed a governor for Mahim shortly. During the reign of Ahmad Shah I (1411–1443), Malik-us-Sharq was appointed governor of Mahim, and he improved the existing revenue system. During the early 14th century, the Bhandaris seized the island of Mahim from the Sultanate and ruled it for eight years. However, it was shortly reconquered by Rai Qutb of the Gujarat Sultanate. Firishta, a Persian historian, recorded that by 1429 the seat of Government of the Gujarat Sultanate had transferred from Thane to Bombay (Mahim). On Rai Qutb's death in 1429–1430, Ahmad Shah I Wali of the Bahmani Sultanate of Deccan succeeded in capturing Salsette and Mahim. Ahmad Shah I retaliated by sending his son Jafar Khan to recapture the lost territory, who emerged victorious in the battle fought between him and Ahmad Shah I Wali. In 1431, Mahim was recaptured by the Sultanate of Gujarat. On the Gujarat commandant of Mahim Kutb Khan's death after a few years, Ahmad Shah I Wali again despatched a large army to capture Mahim. In response, Ahmad Shah I sent down a huge army and navy under Jafar Khan. The defeat of Ahmad Shah I Wali in the battle witnessed the freedom of Bombay from all attacks by the Bahmani Sultanate. The Gujarat Sultanate's patronage led to the construction of many Islamic mosques, prominent being the Haji Ali Dargah, built by the Muslim saint Haji Ali in 1431. Later, the islands came under Bahadur Khan Gilani of the Gujarat Sultanate. During the years 1491–1494, Bombay was wrested from Gilani's control by the Bahamani general Mahmud Gavan. In 1508, Portuguese explorer Francisco de Almeida's ship sailed into the deep natural harbour of the island and he called it Bom Bahia (Good Bay). However, the Portuguese paid their first visit to the Bombay islands on 21 January 1509 when they landed at Mahim after capturing a Gujarat barge in the Bandra creek. After a series of attacks by the Gujarat Sultanate on Bombay, the islands were recaptured by Sultan Bahadur Shah from Mahmud Gavan. In 1526, the Portuguese established their factory at Bassein. In 1528–1529, Lopo Vaz de Sampaio seized the fort of Mahim from the Gujarat Sultanate, when the King was at war with Nizam-ul-mulk, the lord of Cheul, a town south of Bombay. Bahadur Shah had grown apprehensive of the power of the Mughal emperor Humayun and he was obliged to sign the Treaty of Diu with the Portuguese in 1534. According to the treaty, the islands of Bombay and Bassein were offered to the Portuguese. However, Bassein and the seven islands were surrendered later by a treaty of peace and commerce between Bahadur Shah and Nuno da Cunha on 25 October 1535. Notes

References and bibliography

History of Mumbai
Mumbai
Mumbai