Who was the last leader of the Mali Empire?
Mali Empire
{'answer_start': array([879]), 'answer_text': array(['Mansa Mama Maghan'], dtype=object)}
Ibn Khaldun died in 1406, and following his death there was no continuous record of events in the Mali Empire. It is known from the Tarikh al-Sudan that Mali was still a sizeable state in the 15th century. The Venetian explorer Alvise Cadamosto and Portuguese traders confirmed that the peoples of the Gambia were still subject to the mansa of Mali.[8] Upon Leo Africanus's visit at the beginning of the 16th century, his descriptions of the territorial domains of Mali showed that it was still a kingdom of considerable area. However, from 1507 onwards neighbouring states such as Diara, Great Fulo and the Songhay Empire eroded the extreme territories of Mali. In 1542, the Songhay invaded the capital city of Niani but were unsuccessful in conquering the empire. During the 17th century, the Mali empire faced incursions from the Bamana Empire. After unsuccessful attempts by Mansa Mama Maghan to conquer Bamana, in 1670 Bamana sacked and burned Niani, and the Mali Empire rapidly disintegrated and ceased to exist, being replaced by independent chiefdoms. The Keitas retreated to the town of Kangaba, where they became provincial chiefs.[9]