Africa traded gold for salt with Arabia due to geographic and health factors. Africans needed salt to survive hot climates where they lost salt through sweat, while gold was common but useless in Africa. This made Africans willing to trade gold for salt. The location of Ghana along trade routes between salt and gold sources contributed to its growth as a powerful empire, though its influence decreased as residents converted to Islam after the city was divided between African and Muslim sections. Mali rose as an empire as it embraced Islam, with the ruler Mansa Musa gaining fame during a hajj pilgrimage that spread knowledge of Mali.