Ghana achieved much of its wealth by trading with the Arabs. Islamic merchants traveled over 2 months across the desert and were taxed by Ghana for anything they brought in or took out. Ghana declined and was weakened by attacks from invaders and was eventually cut off from trade and absorbed into the Kingdom of Mali.