Battle of Gettysburg Part of the American Civil War The Battle of Gettysburg, by Thure de Thulstrup Date July 1 -- 3, 1863 Location Gettysburg, Adams County, Pennsylvania 39 ° 48 ′ 40 '' N 77 ° 13 ′ 30 '' W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 Coordinates: 39 ° 48 ′ 40 '' N 77 ° 13 ′ 30 '' W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 Result Union victory Belligerents United States Confederate States Commanders and leaders George G. Meade Robert E. Lee Units involved Army of the Potomac Army of Northern Virginia Strength 104,256 ("present for duty '') 71,000 -- 75,000 (estimated) Casualties and losses 23,049 total (3,155 killed; 14,529 wounded; 5,365 captured / missing) 23,000 -- 28,000 (estimated)
who led the confederate army in the battle of gettysburg
Robert E. Lee