Oyo State, located in southwestern Nigeria, is an inland state. Its capital is Ibadan, which is the third most populous city in Nigeria and was previously the second most populous city in Africa. The state shares borders with Kwara State to the north, Osun State to the east, Ogun State and the Republic of Benin to the southwest.