West African empires
What is now Guinea was on the fringes of the major West African empires. The Ghana Empire is believed to be the earliest of these which grew on trade but contracted and ultimately fell due to the hostile influence of the Almoravids. It was in this period that Islam first arrived in the region.
The Sosso kingdom (12th to 13th centuries) briefly flourished in the void but the Islamic Mandinka Mali Empire came to prominence when Soundiata Kéïta defeated the Sosso ruler, Sumanguru Kanté at the semi-historical Battle of Kirina in c. 1235. The Mali Empire was ruled by Mansa (Emperors), the most famous being Kankou Moussa, who made a famous hajj to Mecca in 1324. Shortly after his reign the Mali Empire began to decline and was ultimately supplanted by its vassal states in the 15th century.
The most successful of these was the Songhai Empire, expanding its power from about 1460, and eventually surpassing the Mali Empire in both territory and wealth. It continued to prosper until a civil war over succession followed the death of Askia Daoud in 1582. The weakened empire fell to invaders from Morocco at the Battle of Tondibi just 3 years later. The Moroccans proved unable to rule the kingdom effectively, however, and it split into many small kingdoms.