The emancipation of the British West Indies refers to the abolition of slavery in Britain's colonies in the West Indies during the 1830s. The British government passed the Slavery Abolition Act in 1833, which emancipated all slaves in the British West Indies. After emancipation, a system of apprenticeship was established, where emancipated slaves were required by the various colonial assemblies to continue working for their former masters for a period of four to six years in exchange for provisions. The system of apprenticeship was abolished by the various colonial assemblies in 1838, after pressure from the British public, completing the process of emancipation. These were the steps taken by British West Indian planters to solve the labour problems created by the emancipation of the enslaved Africans in 1838.