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 despite its violent creation, it was held together by mutual self-interest. The government was able to provide unity for a vast area through a combination of local autonomy and imperial authority. Unlike the great savannah empires, of which Oyo may not be called a successor since it was a successor of Ife, there was little if any Muslim influence in the empire. It is known that at least some Muslim officials were kept in Metropolitan Oyo, and men capable of writing and calculating in Arabic were reported by French traders in 1787. Many believe the decline of the Oyo empire