Kankoro-sigui Mari Djata, who had no relation to the Keita clan, essentially ran the empire in Musa Keita II's stead. Ibn Khaldun recorded that in 776 A.H or 1374/1375 AD he interviewed a Sijilmasan scholar named Muhammad b. Wasul who had lived in Gao and had been employed in its judiciary. The latter told Ibn Khaldun about devastating struggle over Gao between Mali imperial forces against Berber Tuareg forces from Takedda. The text of Ibn Khaldun says "Gao, at this time is devastated". It seems quite possible that an exodus of the inhabitants took place at this juncture and the importance of the city was not revived until the rise of the Songhai empire.
