Civil war broke out between the North and South in 1861 following the bombardment of Fort Sumter in South Carolina by Confederate forces. As Americans chose sides, the Union and Confederacy prepared their volunteer armies for war, though both faced shortages. Fighting spread across Virginia and into the Western United States as Union forces aimed to control the Mississippi River while the Confederacy attempted to break the naval blockade. The Emancipation Proclamation freed slaves in Confederate states in 1863, and African Americans participated in the war effort. Though the Union faced opposition, its victories at Gettysburg in 1863 and campaigns in 1864-1865 dealt crippling blows to the Confederacy and ultimately forced Southern surrender, ending the Civil War.