The wealth of East African city-states were based on

trade, particularly in gold, ivory, and slaves. These city-states were strategically located along major trade routes, allowing them to control and benefit from the lucrative Indian Ocean trade network. They also established strong diplomatic and economic ties with other civilizations, such as the Arabs and Persians, which further boosted their wealth and influence.