The Mandé people founded several kingdoms in the Sahel. This was a big area that included Mali. These kingdoms included the Ghana Empire, the Mali Empire, and the Songhai Empire. Timbuktu was an important city in these empires because a lot of trade across the Sahara Desert went there. Timbuktu was also a good place for learning. The Songhai Empire became much smaller after a Moroccan attack in 1591.