History of Africa usually governed by an "oba" and an "iwarefa", a council of chiefs who advised the "oba." by the 18th century, the Yoruba city-states formed a loose confederation, with the "Oni" of Ife as the head and Ife as the capital. As time went on, the individual city-states became more powerful with their "obas" assuming more powerful spiritual positions and diluting the authority of the "Oni" of Ife. Rivalry became intense among the city-states. The Oyo Empire rose in the 16th century. The Oyo state had been conquered in 1550 by the kingdom of Nupe, which was in possession of cavalry,
Oyo Empire a large snake with a magic charm attached to its throat. The chief instructed Oranyan to follow the snake until it stopped somewhere for seven days and disappeared into the ground. Oranyan followed the advice and founded Oyo where the serpent stopped. The site is remembered as Ajaka. Oranyan made Oyo his new kingdom and became the first "oba" (meaning 'king' or 'ruler' in the Yoruba language) with the title of "Alaafin of Oyo" (Alaafin means 'owner of the palace' in Yoruba). He left all his treasures in Ife and allowed another king to rule there. At one time, Oyo-ile