What did the Timbuktu trade to make their wealth?

Timbuktu became wealthy through the trans-Saharan trade of gold, salt, ivory, and slaves. The city served as a major trading hub where goods from West Africa were exchanged with goods from North Africa and beyond.