Race-based slavery was established in the parts of British North America, New France, and Spanish America that would become the U.S. in the 16th and 17th centuries. By the beginning of the 18th century, enslavement of black Africans was powering the economy in these areas. Most opposition to slavery was from enslaved people themselves.