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
Oyo Empire despite its violent creation, it was held together by mutual self-interest. The government was able to provide unity for a vast area through a combination of local autonomy and imperial authority. Unlike the great savannah empires, of which Oyo may not be called a successor since it was a successor of Ife, there was little if any Muslim influence in the empire. It is known that at least some Muslim officials were kept in Metropolitan Oyo, and men capable of writing and calculating in Arabic were reported by French traders in 1787. Many believe the decline of the Oyo empire