The Battle of Harpers Ferry was fought September 12–15, 1862. It was part of the Maryland Campaign of the American Civil War. As Gen. Robert E. Lee's Confederate army invaded Maryland, a portion of his army under Major General Thomas J. "Stonewall" Jackson was sent to capture Harpers Ferry. His troops surrounded, bombarded, and captured the Union garrison at Harpers Ferry, Virginia (now West Virginia). This was a major victory at relatively minor cost.