 A much-needed railroad joining the town to the farming region to the west was not finished until after the Civil War.During the Civil War, Fredericksburg was strategically important because of its port location midway between Washington and Richmond, the opposing capitals of the Union and the Confederacy.During the Battle of Fredericksburg from December 11–15, 1862, the town sustained significant damage from bombardment and looting by the Union forces.