During the Civil War, Petersburg, Virginia, was an important railhead, and four railroad lines from the south met before they continued to Richmond, Virginia, the capital of the Confederacy. Most supplies to Lee's army and Richmond funneled through there. Consequently, the Union regarded it as the "back door" to Richmond and as necessary for its defense.[4] The result was the Siege of Petersburg.