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 first oba (king) of Oyo, was succeeded by Oba Ajaka, Alaafin of Oyo. Ajaka was deposed, because he lacked Yoruba military virtue and allowed his sub-chiefs too much independence. Leadership was then conferred upon Ajaka's brother, Shango, who was later defined as the deity of thunder and lightning. Ajaka was restored after Sango's death. Ajaka returned to the throne thoroughly more warlike and oppressive. His successor, Kori, managed to conquer the rest of what later historians would refer to as metropolitan Oyo. The heart of metropolitan Oyo was its capital at Oyo-Ile (also known as "Oyo Katunga" or "Old Oyo"