Lagos was annexed in 1861.
Annexation means that a country or a state takes control of a smaller region or territory and adds it to their own territory. In 1861, Lagos, which was previously an independent state, became a British colony, meaning that Britain had control over it and it was now part of their territory.