Colonial life was changed radically by the demise of slavery. Although the international slave trade was abolished in the British Empire in 1807, slavery itself continued. In what is known as the Demerara rebellion of 1823 10–13,000 slaves in Demerara-Essequibo rose up against their oppressors. Although the rebellion was easily crushed, the momentum for abolition remained, and by 1838 total emancipation had been effected. The end of slavery had several ramifications. Most significantly, many former slaves rapidly departed the plantations. Some ex-slaves moved to towns and villages, feeling that field labor was degrading and inconsistent with freedom, but others pooled their resources to purchase the abandoned estates of their former masters and created village communities. Establishing small settlements provided the new Afro-Guyanese communities an opportunity to grow and sell food, an extension of a practice under which slaves had been allowed to keep the money that came from the sale of any surplus produce. The emergence of an independent-minded Afro-Guyanese peasant class, however, threatened the planters' political power, inasmuch as the planters no longer held a near-monopoly on the colony's economic activity.