Lagos was bombarded by the British in 1851, annexed on 6 August 1861 and declared a colony on 5 March 1862.