himself later killed by Alimi's son), Ilorin became part of the Sokoto Caliphate. By the time Captain Hugh Clapperton visited Oyo-Ile in 1825 during the reign of Alaafin Majotu, the empire was already in a state of decline. Clapperton's party recorded passing numerous Oyo villages burned by the Fulani of Ilorin while Majotu had also sought the help of the English king and the Oba of Benin in putting down the Ilorin rebellion. Clapperton also noticed a shortage of horses, even though the Oyo were renowned as a great cavalry force; this might have something to do with the fact that most of the empire's soldiers and hence cavalry were stationed at Ilorin under the command of Afonja (and later Alimi's successors). Ilorin then besieged Offa and started raiding, burning and pillaging villages in Oyo, eventually destroying the capital Oyo-Ile in 1835. Loss of the Egbado Corridor As Oyo tore itself apart via political intrigue, its vassals began taking advantage of the situation to press for independence. The Egba, under the leadership of a war chief called Lishabi, massacred the Ilari stationed in their area and drove off an Oyo punitive force. The Dahomey Revolt In 1823 Dahomey was reported to have raided villages that were under the protection of Oyo. Oyo immediately demanded a huge tribute from King Gezo for the unauthorized incursion, to which Gezo dispatched his Brazilian viceroy, Chacha Francisco Félix de Sousa, to the Alaafin at Oyo to make peace. The peace talks eventually broke down, and Oyo subsequently attacked Dahomey. The Oyo army was decisively defeated, ending Oyo's hegemony over Dahomey. After gaining its independence, Dahomey began raiding the corridor. Ago d'Oyo After the destruction of Oyo-Ile, the capital was 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. Final demise Atiba's gambit failed, and Oyo never regained its prominence in the region. The Oba, otherwise called Atiba Atobatele, died in 1859; His first son Adelu Alao Agunloye became the Alaafin after him and ruled from 1859 to 1876, followed by his fourth son Alowolodu