For 200 years Benin was very successful, but in the 1600s the Obas started to lose control of their people.
Around the year 900 groups of Edo people began to cut down trees and make clearings in the rainforest. At first they lived in small family groups, but gradually these groups developed into a kingdom.
In the 1100s there were struggles for power and the Ogisos lost control of their kingdom.
Around 1440, Ewuare became the new Oba of Benin. He built up an army and started winning land. He also rebuilt Benin City and the royal palace.
By the 1860s Benin was no longer a powerful empire and the Obas struggled to rule their people.
Benin was also under threat from Britain. The British wanted to gain control of Benin so they could get rich by selling its palm oil and rubber.
In 1897 a group of British officials tried to visit Benin. They were sent away because the Oba was busy with a religious ceremony, but they decided to visit anyway.
This attack made the British furious. They sent over a thousand soldiers to invade Benin.
Benin belonged to the British Empire until 1960. Then it became part of the independent country of Nigeria.