 From May 1861 to April 1865, Richmond was the capital of the Confederacy.The White House of the Confederacy, located a few blocks north of the State Capital, was home to the family of Confederate President Jefferson Davis.The first major battle of the Civil War occurred on July 21, 1861.