Abolitionism is a movement to end slavery, whether formal or informal. In Western Europe and the Americas, abolitionism is a historical movement to end the African and Indian slave trade and set slaves free. King Charles I of Spain, usually known as Emperor Charles V, following the example of Louis X of France who abolished slavery within the Kingdom of France in 1315, passed a law which would have abolished colonial slavery in 1542, although this law was not passed in the largest colonial states, and so was not enforced. In the late 17th century, the Roman Catholic Church, taking up a plea by Lourenco da Silva de Mendouca, officially condemned the slave trade, which was affirmed vehemently by Pope Gregory XVI in 1839. An abolitionist movement only started in the late 18th century, however, when English and American Quakers began to question the morality of slavery. James Oglethorpe was among the first to articulate the Enlightenment case against slavery, banning it in the Province of Georgia on humanist grounds, arguing against it in Parliament, and eventually encouraging his friends Granville Sharp and Hannah More to vigorously pursue the cause. Soon after his death in 1785, they joined with William Wilberforce and others in forming the Clapham Sect.
The Somersett Case in 1772, in which a fugitive slave was freed in England with the judgement that slavery did not exist under English common law and was thus prohibited in England, helped launch the British movement to abolish slavery. Though anti-slavery sentiments were widespread by the late 18th century, the colonies and emerging nations that used slave labour continued to do so: Dutch, French, English, Spanish and Portuguese territories in the West Indies; South America; and the Southern United States. After the American Revolution established the United States, northern states, beginning with Pennsylvania in 1780, passed legislation during the next two decades abolishing slavery, sometimes by gradual emancipation. Massachusetts ratified a constitution that declared all men equal; freedom suits challenging slavery based on this principle brought an end to slavery in the state. Vermont, which existed as an unrecognized state from 1777 to 1791, abolished adult slavery in 1777. In other states, such as Virginia, similar declarations of rights were interpreted by the courts as not applicable to Africans. During the following decades, the abolitionist movement grew in northern states, and Congress regulated the expansion of slavery in new states admitted to the union.