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 moved further south, to Ago d'Oyo. Oba Atiba sought to preserve what remained of Oyo by placing on Ibadan the duty of protecting the capital from the Ilorin in the north and northeast. He also attempted to get the Ijaye to protect Oyo from the west against the Dahomeans. The center of Yoruba power moved further south to Ibadan, a Yoruba war camp settled by Oyo commanders in 1830. Atiba's gambit failed, and Oyo never regained its prominence in the region. Oba Atiba otherwise called Atiba Atobatele died in 1859; His son Adeyemi I and the 3rd Alaafin to rule