The Civil War ended slavery in America. The war lasted from 1861 to 1865. After the North won, the 13th Amendment made slavery illegal everywhere in the United States.