Although the leaders of Dahomey initially resisted the slave trade, it flourished in the region of Dahomey for almost three hundred years, beginning in 1472 with a trade agreement with Portuguese merchants. The area was named the "Slave Coast" because of this flourishing trade. Court protocols, which demanded that a portion of war captives from the kingdom's many battles be decapitated, decreased the number of enslaved people exported from the area. The number went from 102,000 people per decade in the 1780s to 24,000 per decade by the 1860s. The decline was partly due to the Slave Trade Act 1807 banning the trans-Atlantic slave trade by Britain in 1808, followed by other countries. This decline continued until 1885, when the last slave ship departed from the coast of the modern Benin Republic bound for Brazil in South America, which had yet to abolish slavery. The capital's name Porto-Novo is of Portuguese origin, meaning "New Port". It was originally developed as a port for the slave trade.