Ethnic groups in Africa number in the hundreds, each generally having its own language (or dialect of a language) and culture. Many ethnic groups and nations of Sub-Saharan Africa qualify, although some groups are of a size larger than a tribal society. These mostly originate with the Sahelian kingdoms of the medieval period, such as that of the Akan, deriving from the Kingdom of Ghana (10th century).