Britain intervened in the Lagos Kingship power struggle by bombarding Lagos in 1851, deposing the slave trade friendly Oba Kosoko, helping to install the amenable Oba Akitoye, and signing the Treaty between Great Britain and Lagos on 1 January 1852.