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.