Oyo Empire culture in Oyo where victory was obligatory and defeat carried the duty of committing suicide. This do-or-die policy no doubt contributed to the military aggressiveness of Oyo's generals. The Oyo Empire was the only Yoruba state to adopt cavalry; it did so because most of its territory was in the northern savannah. The origin of the cavalry is disputed; however, the Nupe, Borgu and Hausa in neighboring territories also used cavalry and may have had the same historical source. Oyo was able to purchase horses from the north and maintain them in metropolitan Oyo because of partial freedom from the
Oyo Empire or Oyo-oro). The two most important structures in Oyo-Ile were the 'Afin,' or palace of the Oba, and his market. The palace was at the center of the city close to the Oba's market called 'Oja-Oba'. Around the capital was a tall earthen wall for defense with 17 gates. The importance of the two large structures (the palace and the Oja Oba) signified the importance of the king in Oyo. Oyo had grown into a formidable inland power by the end of the 14th century. For over a century, the Yoruba state had expanded at the expense of its neighbors.