A British trading post was established there in the 1820s, and Badagry developed as a palm-oil port for Egbaland to the north and as an importer of European cloth. In the 1830s it attracted freed slaves from Freetown (Sierra Leone), and, in 1842, it became the site of the first European mission (Methodist) in Nigeria.