section_path: History/Before colonization
section_name: Before colonization
paragraph_text: Before colonization
  
  The rock art in the Sahara suggests that northern Mali has been inhabited since 10,000 BC, when the Sahara was fertile and rich in wildlife. Early ceramics have been discovered at the central Malian site of Ounjougou dating to about 9,400 BC, and are believed to represent an instance of the independent invention of pottery in the region. Farming took place by 5000 BC and iron was used by around 500 BC.In the first millennium BC, early cities and towns were created by Mande peoples related to the Soninke people, along the middle Niger River in central Mali, including Dia which began from around 900 BC, and reached its peak around 600 BC, and Djenne-Djenno, which lasted from around 300 BC to 900 AD. Through approximately 6th century BC and 4th century BC, the lucrative trans-Saharan trade in pack-animals, gold, salt and slaves had begun, facilitating the rise of West Africa's great empires.
  
  There are a few references to Mali in early Islamic literature. Among these are references to "Pene" and "Malal" in the work of al-Bakri in 1068, the story of the conversion of an early ruler, known to Ibn Khaldun (by 1397) as Barmandana, and a few geographical details in the work of al-Idrisi.
  
  Mali was once part of three famed West African empires which controlled trans-Saharan trade in gold, salt, other precious commodities, and slaves majorly during the reign of Mansa Musa from c. 1312 – c. 1337. These Sahelian kingdoms had neither rigid geopolitical boundaries nor rigid ethnic identities. The earliest of these empires was the Ghana Empire, which was dominated by the Soninke, a Mande -speaking people. The empire expanded throughout West Africa from the eighth century until 1078, when it was conquered by the Almoravids.
  
  The Battle of Kirina in 1235, culminated in a victory for the Mandinka under the command of the exiled prince Sundiata Keita, which led to the downfall of the Sosso Empire.
  
  The Mali Empire later formed on the upper Niger River, and reached the height of power in the 14th century. Under the Mali Empire, the ancient cities of Djenné and Timbuktu were centers of both trade and Islamic learning. The empire later declined as a result of internal intrigue, ultimately being supplanted by the Songhai Empire. The Songhai had long been a major power in West Africa subject to the Mali Empire's rule.
  
  In the late 14th century, the Songhai gradually gained independence from the Mali Empire and expanded, ultimately subsuming the entire eastern portion of the Mali Empire. The Songhai Empire's eventual collapse was largely the result of the Moroccan invasion of 1591 under the command of Judar Pasha. The fall of the Songhai Empire marked the end of the region's role as a trading crossroads. Following the establishment of sea routes by the European powers, the trans-Saharan trade routes lost significance. At that time, the Mali Empire's abundance in wealth expanded its commercial assets of salt and gold.
  
  One of the worst famines in the region's recorded history occurred in the 18th century. According to John Iliffe, "The worst crises were in the 1680s, when famine extended from the Senegambian coast to the Upper Nile and 'many sold themselves for slaves, only to get a sustenance', and especially in 1738–1756, when West Africa's greatest recorded subsistence crisis, due to drought and locusts, reportedly killed half the population of Timbuktu."