Irreconcilable sectional conflict regarding the enslavement of Africans and African Americans ultimately led to the American Civil War. With the 1860 election of Republican Abraham Lincoln, conventions in thirteen slave states declared secession and formed the Confederate States of America (the "South" or the "Confederacy"), while the federal government (the "Union") maintained that secession was illegal. In order to bring about this secession, military action was initiated by the secessionists, and the Union responded in kind. The ensuing war would become the deadliest military conflict in American history, resulting in the deaths of approximately 618,000 soldiers as well as many civilians. The Union initially simply fought to keep the country united. Nevertheless, as casualties mounted after 1863 and Lincoln delivered his Emancipation Proclamation, the main purpose of the war from the Union's viewpoint became the abolition of slavery. Indeed, when the Union ultimately won the war in April 1865, each of the states in the defeated South was required to ratify the Thirteenth Amendment, which prohibited slavery except as penal labor. Two other amendments were also ratified, ensuring citizenship for blacks and, at least in theory, voting rights for them as well.