By February 1861, seven Southern states had voted to secede, or formally withdraw, from the United States. They formed the Confederate States of America, also called the Confederacy. The states that stayed loyal to the national government were called the Union. On April 12, 1861, Confederate guns fired on Fort Sumter, a U.S. fort in Charleston Harbor, South Carolina, and the war began. Four slave states, Delaware, Maryland, Kentucky and Missouri, stayed in the Union. They were called the border states.
Many Northerners expected a quick win. But in July 1861, Confederate troops defeated a Union army at Bull Run, in Virginia, and many people saw that the war would not end soon. The Union's plan was to squeeze the South. Its navy set up a blockade, a line of warships that kept ships from entering or leaving Southern ports. Union forces also worked to take control of the Mississippi River, which would cut the Confederacy in two.
In September 1862, the Confederate general Robert E. Lee led his army north into Maryland. On September 17, his army clashed with a Union army near Antietam Creek. In a single day, about 23,000 soldiers on the two sides were killed, wounded or missing. No other day in American history has seen so many. Losses like these are called casualties. Lee's army pulled back to Virginia, and President Abraham Lincoln used the moment to announce a plan for emancipation, the freeing of enslaved people.
That plan became the Emancipation Proclamation, which took effect on January 1, 1863. A proclamation is an official public announcement. It declared free the enslaved people in areas still in rebellion against the United States. It did not free enslaved people in the border states or in parts of the South already under Union control. Even so, it made ending slavery a goal of the war, and each Union advance now brought freedom to more people. It also allowed Black men to join the Union army and navy, and almost 200,000 served by the war's end. Slavery ended everywhere in the nation only with the 13th Amendment in 1865.
The summer of 1863 brought two more turning points. From July 1 to 3, Union troops defeated Lee's army at Gettysburg, Pennsylvania, ending his second invasion of the North. On July 4, the Confederate city of Vicksburg, Mississippi, surrendered after a siege. During a siege, an army surrounds a place and cuts off its supplies until it gives up. Soon the Union controlled the whole Mississippi River.
In 1864, General Ulysses S. Grant took command of all Union armies, and General William T. Sherman's troops captured Atlanta, Georgia. On April 9, 1865, Lee surrendered to Grant at Appomattox Court House, Virginia. Other Confederate armies gave up in the weeks that followed. Historians estimate that more than 600,000 soldiers died in the war.