History of the Yoruba people military capital of Ilorin, and then sacked and destroyed Ọyọ-Ile, the royal seat of the Ọyọ Empire. Following this, Ọyọ-Ile was abandoned, and the Ọyọ retreated south to the present city of Oyo (formerly known as "Ago d'Oyo", or "Oyo Atiba") in a forested region where the cavalry of the Sokoto Caliphate was less effective. Further attempts by the Sokoto Caliphate to expand southwards were checked by the Yoruba who had rallied in defence under the military leadership of the ascendant Ibadan clan, which rose from the old Oyo Empire, and of the Ijebu city-states. However, the Oyo hegemony had
Oyo Empire During the reign of Onigbogi, Oyo suffered military defeats at the hands of the Nupe led by Tsoede. Sometime around 1535, the Nupe occupied Oyo and forced its ruling dynasty to take refuge in the kingdom of Borgu. The Nupe sacked the capital, destroying Oyo as a regional power until the early 17th century. The Yoruba of Oyo went through an interregnum of 80 years as an exiled dynasty after its defeat by the Nupe. They re-established Oyo as more centralized and expansive than ever. The people created a government that established its power over a vast empire. During the