Ghana did not have a religion like the common religion today. They emperor, whom they worshipped, was called the Ghana. They also worshipped the Buda's Sea of the Niger.( It was known as the biggest river) Ghana allowed Muslims to live in their empire and help them with the government and advice on legal matters, but every few converted to Islam.
Over time traders and merchants alike began to move out of Ghana into other kingdoms. With the loss of their trade, Ghana grew weak and unable to hold its empire together. After about 700 years of glory, Ghana collapsed.
The kingdom is known for other part of the world as the “kingdom of gold”.
Until relatively recently it was assumed that the proximate cause of its demise was a attack in 1076 of Berber Almoravids, who was sacked the capital, Koumbi Saleh, and thereby dealt a terminal blow to the coherency of the empire.