Legends of Africa wealth gained from trade and its possession of a powerful cavalry. The Oyo Empire was the most politically important state in the region from the mid-17th to the late 18th century, holding sway not only over other Yoruba kingdoms in modern-day Nigeria, Benin, and Togo, but also over other African kingdoms, most notable being the Fon Dahomey (in present-day Benin). The mythical origins of the Oyo Empire lie with Oranyan (also known as Oranmiyan), the second prince of the Yoruba Kingdom of Ile-Ife. Oranyan made an agreement with his brother to launch a punitive raid on their northern neighbors for
Yoruba people ancient times, most of these cities were fortresses, with high walls and gates. Yoruba cities have always been among the most populous in Africa. Archaeological findings indicate that Òyó-Ilé or Katunga, capital of the Yoruba empire of Oyo (fl. between the 11th and 19th centuries CE), had a population of over 100,000 people (the largest single population of any African settlement at that time in history). For a long time also, Ibadan, one of the major Yoruba cities, was the largest city in the whole of Sub Saharan Africa. Today, Lagos (), another major Yoruba city, with a population of