2) Internal conflict: Ghana also faced internal conflict and political instability. There was a power struggle between the king and the regional chiefs. This led to a weakening of the central authority and made it difficult for Ghana to resist the Almoravid invasion.
3) Drought and environmental factors: The region of West Africa where Ghana was located experienced a severe drought in the 11th century. This led to crop failures and famine, which weakened the population and made them more vulnerable to invasion.
4) Depletion of gold resources: Ghana's wealth was based on its gold resources, which were used to trade for other goods. However, the gold mines of Ghana began to decline in the 11th century, reducing the kingdom's economic power and making it more difficult to maintain its military strength.
5) Shifting trade routes: The trans-Saharan trade routes that were the foundation of Ghana's economy began to shift in the 11th century. This was due to the rise of new trading centers in North Africa and the Middle East, as well as the increasing importance of maritime trade routes. This shift in trade routes reduced the importance of Ghana and its role in West African trade.