The Battle of Gettysburg, fought from July 1 to July 3, 1863, is considered the most important engagement of the Civil War.