 During the reign of King Glele (1858–89), the territory was ceded to the Second French Empire by a treaty signed in 1878.In 1883, the French Navy occupied the city to prevent British conquest of the area.After Glele's death in 1889, King Béhanzin unsuccessfully tried to challenge the treaty.