In the history of the United States of America, a slave state was a U.S. state in which the practice of slavery was legal, and a free state was one in which slavery was prohibited or being legally phased out. Historically, slavery had been practiced in all the the British colonies. The division between slave and free states began during the American Revolution (1775–1783). Slavery was a divisive issue and was the primary cause of the American Civil War. The Thirteenth Amendment to the United States Constitution, ratified in 1865, abolished slavery throughout the United States, and the distinction ended.
Slavery was legal and practiced in each of the Thirteen Colonies that became the US. During British colonization, the enslaved population expanded, primarily drawn from the Atlantic slave trade. Organized political and social movements to end slavery began in the mid-18th century. The sentiments of the American Revolution (1775-1783) and the equality evoked by the Declaration of Independence stood in contrast to the status of most black Americans. Despite this, thousands of black Americans fought against the British in hopes of a new order. Thousands also joined the British army, encouraged by British offers of freedom in exchange for military service. (See Black Patriot and Black Loyalist).
In the 1770s, blacks throughout New England began sending petitions to northern legislatures demanding freedom. Five of the Northern self-declared states adopted policies to at least gradually abolish slavery: Pennsylvania (1780), New Hampshire and Massachusetts (1783), Connecticut and Rhode Island (1784). Vermont abolished slavery in 1777, while it was still independent, and when it joined the United States as the 14th state in 1791 it was the first state to join untainted by slavery. These state jurisdictions thus enacted the first abolition laws in the Americas. By 1804 (including, New York (1799), New Jersey (1804)), all of the northern states had abolished slavery or set measures in place to gradually reduce it.