History of Timbuktu visited the governor, Farba Musa, and the grave of the poet Al Sahili. Timbuktu was peacefully annexed by King Musa I when returning from his pilgrimage in 1324 to Mecca. The city became part of the Mali Empire and Musa I ordered the construction of a royal palace. Both the "Tarikh al-Sudan" and the "Tarikh al-fattash" attribute the building of the Djinguereber Mosque to Musa I. Two centuries later in 1570 Qadi al-Aqib had the mosque pulled down and rebuilt on a larger scale. In 1375, Timbuktu appeared in the Catalan Atlas, showing that it was, by then, a commercial
History of Timbuktu was forced to move to Marrakesh because of his intellectual opposition to the "Pasha", where he continued to attract the attention of the scholarly world. Ahmad Baba later returned to Timbuktu, where he died in 1608. The city's decline continued, with the increasing trans-atlantic trade routes – transporting African slaves, including leaders and scholars of Timbuktu – marginalising Timbuktu's role as a trade and scholarly center. While initially controlling the Morocco – Timbuktu trade routes, Morocco soon cut its ties with the Arma and the grip of the numerous subsequent "pashas" on the city began losing its strength: Tuareg temporarily