1667. Slavery in South America The indigenous peoples of the Americas in various European colonies were forced to work in European plantations and mines; along with enslaved Africans who were also introduced in the proceeding centuries via the slave trade. European colonists were heavily dependent on indigenous labor during the initial phases of settlement to maintain the subsistence economy, and natives were often captured by expeditions. The importation of African slaves began midway through the 16th century, but the enslavement of indigenous peoples continued well into the 17th and 18th centuries. The Atlantic slave trade brought enslaved Africans primarily to South American colonies, beginning with the Portuguese since 1502. The main destinations of this phase were the Caribbean colonies and Brazil, as European nations built up economically slave-dependent colonies in the New World. Nearly 40% of all African slaves trafficked to the Americas went to Brazil. An estimated 4.9 million slaves from Africa came to Brazil during the period from 1501 to 1866. In contrast to other European colonies in the Americas which mainly used the labor of African slaves, Spanish colonists mainly enslaved indigenous Americans. In 1750, the Portuguese Crown abolished the enslavement of indigenous peoples in colonial Brazil, under the belief that they were unfit for labor and less effective than enslaved Africans. Enslaved Africans were brought to the Americas on slave ships, under inhuman conditions and ill-treatment, and those who survived were sold in slave markets. After independence, all South American countries maintained slavery for some time. The first South American country to abolish slavery was Chile in 1823, Uruguay in 1830, Bolivia in 1831, Colombia and Ecuador in 1851, Argentina in 1853, Peru and Venezuela in 1854, Suriname in 1863, Paraguay in 1869, and in 1888 Brazil was the last South American nation and the last country in western world to abolish slavery. Independence from Spain and Portugal The European Peninsular War (1807–1814), a theater of the Napoleonic Wars, changed the political situation of both the Spanish and Portuguese colonies. First, Napoleon invaded Portugal, but the House of Braganza avoided capture by escaping to Brazil. Napoleon also captured King Ferdinand VII of Spain, and appointed his own brother instead. This appointment provoked severe popular resistance, which created Juntas to rule in the name of the captured king. Many cities in the Spanish colonies, however, considered themselves equally authorized to appoint local Juntas like those of Spain.