Richmond, Virginia, served as the capital of the Confederate States of America for almost the whole of the American Civil War. Not only was Richmond the seat of political power for the Confederacy, it served as a vital source of munitions, armament, weapons, supplies, and manpower for the Confederate States Army and Confederate States Navy, and as such would have been defended at all costs regardless of its political status. The city was less than 100 miles (160 km) from the Union capital in Washington, D.C..
Due to its symbolic and strategic importance to the Confederate war effort, it was the target of numerous attempts by the Union Army to seize possession of the capital, most notably during the Peninsula Campaign of 1862 and the Overland Campaign of 1864. Its proximity to the fighting would lead to it becoming a center of hospitals and military prisons. The city finally fell to Union forces on April 3, 1865, with large portions of the city destroyed by fires set during the evacuation.
In the aftermath of the war, numerous monuments, memorials, and museums were erected in the city.
In the 1860 United States Census, Richmond was the 25th largest urban area in the United States, with a population of 37,910. The city had been the capital of Virginia since 1780.
The Confederate States of America was formed in early 1861 from the first states to secede from the Union. Montgomery, Alabama, was selected as the Confederate capital.
After the Confederate Army fired on Fort Sumter in Charleston, South Carolina, on April 12, 1861, beginning the Civil War, additional states seceded. Virginia voted to secede from the Union on April 17, 1861, and existed briefly thereafter as an independent republic before joining the Confederacy on June 19, 1861. Shortly thereafter, in recognition of Virginia's strategic importance, the Confederate capital was moved to Richmond.