section_path: History/Early history
section_name: Early history
paragraph_text: Early history
  
  Mumbai is built on what was once an archipelago of seven islands: Isle of Bombay, Parel, Mazagaon, Mahim, Colaba, Worli, and Old Woman's Island (also known as Little Colaba). It is not exactly known when these islands were first inhabited. Pleistocene sediments found along the coastal areas around Kandivali in northern Mumbai suggest that the islands were inhabited since the South Asian Stone Age. Perhaps at the beginning of the Common Era, or possibly earlier, they came to be occupied by the Koli fishing community.
  
  In the 3rd century BCE, the islands formed part of the Maurya Empire, during its expansion in the south, ruled by the Buddhist emperor Ashoka of Magadha. The Kanheri Caves in Borivali were excavated from basalt rock in the first century CE, and served as an important centre of Buddhism in Western India during ancient Times. The city then was known as Heptanesia (Ancient Greek: A Cluster of Seven Islands) to the Greek geographer Ptolemy in 150 CE. The Mahakali Caves in Andheri were cut out between the 1st century BCE and the 6th century CE.
  
  Between the 2nd century BCE and 9th century CE, the islands came under the control of successive indigenous dynasties: Satavahanas, Western Satraps, Abhira, Vakataka, Kalachuris, Konkan Mauryas, Chalukyas and Rashtrakutas, before being ruled by the Shilaharas from 810 to 1260. Some of the oldest edifices in the city built during this period are the Jogeshwari Caves (between 520 and 525), Elephanta Caves (between the sixth to seventh century), Walkeshwar Temple (10th century), and Banganga Tank (12th century).
  
  King Bhimdev founded his kingdom in the region in the late 13th century and established his capital in Mahikawati (present day Mahim). The Pathare Prabhus, among the earliest known settlers of the city, were brought to Mahikawati from Saurashtra in Gujarat around 1298 by Bhimdev. The Delhi Sultanate annexed the islands in 1347–48 and controlled it until 1407. During this time, the islands were administered by the Muslim Governors of Gujarat, who were appointed by the Delhi Sultanate.
  
  The islands were later governed by the independent Gujarat Sultanate, which was established in 1407. As a result of the Sultanate's support, numerous mosques were built, with one notable example being the Haji Ali Dargah in Worli. Erected in 1431, this magnificent structure pays homage to the revered Muslim saint, Haji Ali. From 1429 to 1431, the islands were a source of contention between the Gujarat Sultanate and the Bahmani Sultanate of Deccan. In 1493, Bahadur Khan Gilani of the Bahmani Sultanate attempted to conquer the islands but was defeated.