The Mali Empire was one of the great empires of West Africa, reaching its peak in the 14th century. Mali was founded by the legendary Sundiata Keita in approximately 1230 after defeating the Sosso at the battle of Krina. Its capital was at Niani, in modern Guinea.