As a devout Muslim, he took a particular interest in Timbuktu, already a center of religion and learning prior to its annexation. Upon returning from his pilgrimage, he had the great Djinguereber Mosque built there with the help of an Andalusian architect. He also established a major university, further elevating the city's reputation, and attracting scholars and students from all over the Islamic world.Under Mansa Musa, the Empire became urbanized, with schools and mosques in hundreds of densely populated towns. The king's rich legacy persisted for generations and to this day, there are mausoleums, libraries and mosques that stand as a testament to this golden age of Mali's history.