The Kingdom of Benin, also known as the Edo Kingdom or the Benin Empire (Bini: Arriọba ẹdo), was a kingdom within what is now southern Nigeria. It has no historical relation to the modern republic of Benin, which was known as Dahomey from the 17th century until 1975. The Kingdom of Benin's capital was Edo, now known as Benin City in Edo State, Nigeria. The Benin Kingdom was "one of the oldest and most developed states in the coastal hinterland of West Africa". It grew out of the previous Edo Kingdom of Igodomigodo around the 11th century AD, and lasted until it was annexed by the British Empire in 1897.
The original people and founders of the Benin Kingdom, the Edo people, were initially ruled by the Ogiso (Kings of the Sky) who called their land Igodomigodo. The first Ogiso (Ogiso Igodo), wielded much influence and gained popularity as a good ruler. He died after a long reign and was succeeded by Ere, his eldest son. In the 12th century, a great palace intrigue erupted and crown prince Ekaladerhan, the only son of the last Ogiso, was sentenced to death as a result of the first queen (who was barren) changing an oracle's message to the Ogiso. In carrying out the royal order, that he be killed, the palace messengers had mercy and set the prince free at Ughoton near Benin. When his father the Ogiso died, the Ogiso dynasty ended. The people and royal kingmakers preferred their late king's son as the next to rule.
After residing there for some years he called a meeting of the people and renounced his office, remarking in vexation Ile-Ibinu in Yoruba language ("ile" means land, "ubinu" mean anger), and thus the kingdom was called Ubinu in Ife tongue, which was mispronounced Bini in the 15th and 16th centuries by the Portuguese). This was out of frustration as he often expressed that "only a child born, trained and educated in the arts and mysteries of the land could reign over the people". He arranged for his son born to him by Erinmwinde, Eweka, to be made king in his place, and returned to Yorubaland thereafter.