Eventually, the South tried to leave the United States. This caused the American Civil War. The North won, and in 1865, the Thirteenth Amendment to the United States Constitution made slavery illegal everywhere in the country. In 1868 and 1870, the Fourteenth and Fifteenth Amendments gave African-Americans citizenship, and gave them the right to vote.