The city's golden period was in the 14th century CE when the ruler Mansa Musa built mosques of pounded earth and established universities which gained the city international fame as a centre of Islamic learning.