The Battle of Gettysburg (locally ) (July 1–3, 1863) was fought in the American Civil War between the Union and Confederate armies in and around Gettysburg, Pennsylvania. The battle, won by the Union, is widely considered the Civil War's turning point, leading to an ultimate victory of the Union and the preservation of the nation. The Battle of Gettysburg was the bloodiest battle of both the Civil War and of any battle in American military history up to that time, claiming over 50,000 combined casualties. Union Major General George Meade's Army of the Potomac defeated attacks by Confederate General Robert E. Lee's Army of Northern Virginia, halting Lee's invasion of the North and forcing his retreat.

After his success in the Battle of Chancellorsville in Spotsylvania County, Virginia, in May 1863, Lee led his Confederate forces through the Shenandoah Valley to begin the Gettysburg campaign, his second attempt to invade the North. With Lee's army in high spirits, he intended to shift the focus of the summer campaign from war-ravaged Northern Virginia in the hopes of penetrating as far as Harrisburg or Philadelphia, which he hoped would convince northern politicians to end the war. President Abraham Lincoln initially prodded Major General Joseph Hooker into pursuing Lee, then relieved him of command just three days before the Battle of Gettysburg commenced, replacing him with Meade.

On July 1, 1863, as Lee's forces moved on Gettysburg in the hopes of destroying the Union army, the two armies encountered each other, and the battle commenced. Low ridges to the northwest of Gettysburg were initially defended by a Union cavalry division under Brigadier General John Buford, soon reinforced by two corps of Union infantry. Two large Confederate corps assaulted them from the northwest and north, however, collapsing the hastily developed Union lines, leading them to retreat through the streets of Gettysburg to the hills just south of the city. On the second day of battle, on July 2, the Union line was laid out in a defensive formation resembling a fishhook. In the late afternoon, Lee launched a heavy assault on the Union's left flank, leading to fierce fighting at Little Round Top, the Wheatfield, Devil's Den, and the Peach Orchard. On the Union's right flank, Confederate demonstrations escalated into full-scale assaults on Culp's Hill and Cemetery Hill. Despite incurring significant losses, Union forces held their lines.

Battle of Gettysburg
Thure de Thulstrup / Adam Cuerden · Public domain via Wikimedia Commons

On the third day of battle, July 3, fighting resumed on Culp's Hill, and cavalry battles raged to the east and south of Gettysburg. Pickett's Charge featured the main engagement, a Confederate infantry assault of approximately 12,000 Confederate troops, who attacked the center of the Union line at Cemetery Ridge, which was repelled by Union rifle and artillery fire, leading to great Confederate losses. The following day, on the Fourth of July, Lee led his Confederate troops on the torturous retreat from the North. Between 46,000 and 51,000 soldiers from both armies were casualties in the three-day Battle of Gettysburg, the most in any battle in American history up to that time.

On November 19, Lincoln traveled to Gettysburg, where he spoke at a ceremony dedicating Gettysburg National Cemetery, which honored the fallen Union soldiers and redefined the purpose of the Civil War in his famed Gettysburg Address, a 271-word speech that has endured as one of the most famous in American history.

Background

Military situation

Shortly after the Army of Northern Virginia won a major victory over the Army of the Potomac at the Battle of Chancellorsville (April 30 – May 6, 1863), General Robert E. Lee decided upon a second invasion of the North (the first was the unsuccessful Maryland campaign of September 1862, which ended in the bloody Battle of Antietam). Such a move would upset the Union's plans for the summer campaigning season and possibly reduce the pressure on the besieged Confederate garrison at Vicksburg. The invasion would allow the Confederates to live off the bounty of the rich Northern farms while giving war-ravaged Virginia a much-needed rest. In addition, Lee's 72,000-man army could threaten Philadelphia, Baltimore, and Washington, and possibly strengthen the growing peace movement in the North.

Battle of Gettysburg
Timothy H. O'Sullivan / Adam Cuerden · Public domain via Wikimedia Commons

Initial movements to battle

Thus, on June 3, Lee's army began to shift northward from Fredericksburg, Virginia. Following the death of Thomas J. "Stonewall" Jackson, Lee reorganized his two large corps into three new corps, commanded by Lieutenant General James Longstreet (First Corps), Lieutenant General Richard S. Ewell (Second), and Lieutenant General A.P. Hill (Third); both Ewell and Hill, who had formerly reported to Jackson as division commanders, were new to this level of responsibility. The cavalry division remained under the command of Major General J.E.B. Stuart.

The Union's Army of the Potomac, commanded by Major General Joseph Hooker, consisted of seven infantry corps, a cavalry corps, and an artillery reserve, for a combined strength of more than 100,000 men.

The first major action of the campaign took place on June 9 between cavalry forces at Brandy Station, near Culpeper, Virginia. The 9,500 Confederate cavalrymen under Stuart were surprised by Major General Alfred Pleasonton's combined arms force of two cavalry divisions (8,000 troopers) and 3,000 infantry, but Stuart eventually repelled the Union attack. The inconclusive battle, the largest predominantly cavalry engagement of the war, proved for the first time that Union cavalrymen were equal to their Southern counterparts.

Battle of Gettysburg
Timothy H. O'Sullivan · Public domain via Wikimedia Commons

By mid-June, the Army of Northern Virginia was poised to cross the Potomac River and enter Maryland. After defeating the Union garrisons at Winchester and Martinsburg, Ewell's Second Corps began crossing the river on June 15. Hill's and Longstreet's corps followed on June 24 and 25. Hooker's army pursued, keeping between Washington, D.C., and Lee's army. The Union army crossed the Potomac from June 25 to 27.

Lee gave strict orders for his army to minimize any negative effects on the civilian population. Food, horses, and other supplies were generally not seized outright unless a citizen concealed property, although quartermasters reimbursing Northern farmers and merchants with Confederate money which was virtually worthless or with equally worthless promissory notes were not well received. Various towns, most notably York, Pennsylvania, were required to pay indemnities in lieu of supplies, under threat of destruction. During the invasion, the Confederates seized between 40 and nearly 60 northern African Americans. A few of them were escaped fugitive slaves, but many were freemen; all were sent south into slavery under guard.

On June 26, elements of Major General Jubal Early's division of Ewell's corps occupied the town of Gettysburg after chasing off newly raised 26th Regiment Pennsylvania Emergency Militia Infantry in a series of minor skirmishes. Early laid the borough under tribute, but did not collect any significant supplies. Soldiers burned several railroad cars and a covered bridge, and destroyed nearby rails and telegraph lines. The following morning, Early departed for adjacent York County.

Battle of Gettysburg
Peter Frederick Rothermel · Public domain via Wikimedia Commons

Meanwhile, in a controversial move, Lee allowed Stuart to take a portion of the army's cavalry and ride around the east flank of the Union army. Lee's orders gave Stuart much latitude, and both generals share the blame for the long absence of Stuart's cavalry, as well as for the failure to assign a more active role to the cavalry left with the army. Stuart and his three best brigades were absent from the army during the crucial phase of the approach to Gettysburg and the first two days of battle. By June 29, Lee's army was strung out in an arc from Chambersburg (28 mi (45 km) northwest of Gettysburg) to Carlisle (30 mi (48 km) north of Gettysburg) to near Harrisburg and Wrightsville on the Susquehanna River.

In a dispute over the use of the forces defending the Harpers Ferry garrison, Hooker offered his resignation, and Abraham Lincoln and General-in-Chief Henry W. Halleck, who were looking for an excuse to rid themselves of him, immediately accepted. They replaced Hooker early on the morning of June 28 with Major General George Gordon Meade, then commander of the V Corps.

On June 29, when Lee learned that the Army of the Potomac had crossed the Potomac River, he ordered a concentration of his forces around Cashtown, located at the eastern base of South Mountain and eight mi (13 km) west of Gettysburg. On June 30, while part of Hill's corps was in Cashtown, one of Hill's brigades (North Carolinians under Brigadier General J. Johnston Pettigrew) ventured toward Gettysburg. In his memoirs, Major General Henry Heth, Pettigrew's division commander, claimed that he sent Pettigrew to search for supplies in town—especially shoes.

Battle of Gettysburg
en:User:Hlj · Public domain via Wikimedia Commons

When Pettigrew's troops approached Gettysburg on June 30, they noticed Union cavalry under Major General John Buford arriving south of town, and Pettigrew returned to Cashtown without engaging them. When Pettigrew told Hill and Heth what he had seen, neither general believed that there was a substantial Union force in or near the town, suspecting that it had been only Pennsylvania militia. Despite Lee's order to avoid a general engagement until his entire army was concentrated, Hill decided to mount a significant reconnaissance in force the following morning to determine the size and strength of the enemy force in his front. Around 5 a.m. on Wednesday, July 1, two brigades of Heth's division advanced to Gettysburg.

Opposing forces

Union

The Army of the Potomac, initially under Hooker (Meade replaced Hooker in command on June 28), consisted of more than 100,000 men in the following organization:

I Corps, commanded by Maj. Gen. John F. Reynolds, with divisions commanded by Brig. Gen. James S. Wadsworth, Brig. Gen. John C. Robinson, and Maj. Gen. Abner Doubleday.

Battle of Gettysburg
Mathew Benjamin Brady · Public domain via Wikimedia Commons

II Corps, commanded by Maj. Gen. Winfield Scott Hancock, with divisions commanded by Brig. Gens. John C. Caldwell, John Gibbon, and Alexander Hays.

III Corps, commanded by Maj. Gen. Daniel Sickles, with divisions commanded by Maj. Gen. David B. Birney and Maj. Gen. Andrew A. Humphreys.

V Corps, commanded by Maj. Gen. George Sykes (George G. Meade until June 28), with divisions commanded by Brig. Gens. James Barnes, Romeyn B. Ayres, and Samuel W. Crawford.

VI Corps, commanded by Maj. Gen. John Sedgwick, with divisions commanded by Brig. Gen. Horatio G. Wright, Brig. Gen. Albion P. Howe, and Maj. Gen. John Newton.

XI Corps, commanded by Maj. Gen. Oliver Otis Howard, with divisions commanded by Brig. Gen. Francis C. Barlow, Brig. Gen. Adolph von Steinwehr, and Maj. Gen. Carl Schurz.

XII Corps, commanded by Maj. Gen. Henry W. Slocum, with divisions commanded by Brig. Gens. Alpheus S. Williams and John W. Geary.

Cavalry Corps, commanded by Maj. Gen. Alfred Pleasonton, with divisions commanded by Brig. Gens. John Buford, David McM. Gregg, and H. Judson Kilpatrick.

Artillery Reserve, commanded by Brig. Gen. Robert O. Tyler. (The preeminent artillery officer at Gettysburg was Brig. Gen. Henry Jackson Hunt, chief of artillery on Meade's staff.)

During the advance on Gettysburg, Reynolds was in operational command of the left, or advanced, wing of the Army, consisting of the I, III, and XI corps. Many other Union units (not part of the Army of the Potomac) were actively involved in the Gettysburg Campaign, but not directly involved in the Battle of Gettysburg. These included portions of the Union IV Corps, the militia and state troops of the Department of the Susquehanna, and various garrisons, including that at Harpers Ferry.

Confederate

In reaction to the death of Jackson after Chancellorsville, Lee reorganized his Army of Northern Virginia (75,000 men) from two infantry corps into three.

First Corps, commanded by Lt. Gen. James Longstreet, with divisions commanded by Maj. Gens. Lafayette McLaws, George Pickett, and John Bell Hood.

Second Corps, commanded by Lt. Gen. Richard S. Ewell, with divisions commanded by Maj. Gens. Jubal A. Early, Edward "Allegheny" Johnson, and Robert E. Rodes.

Third Corps, commanded by Lt. Gen. A. P. Hill, with divisions commanded by Maj. Gens. Richard H. Anderson, Henry Heth, and W. Dorsey Pender.

Cavalry division, commanded by Maj. Gen. J. E. B. Stuart, with brigades commanded by Brig. Gens. Wade Hampton, Fitzhugh Lee, Beverly H. Robertson, Albert G. Jenkins, William E. "Grumble" Jones, and John D. Imboden, and Col. John R. Chambliss.

First day of battle

Herr Ridge, McPherson Ridge and Seminary Ridge

Anticipating that the Confederates would march on Gettysburg from the west on the morning of July 1, Buford laid out his defenses on three ridges west of the town: Herr Ridge, McPherson Ridge and Seminary Ridge. These were appropriate terrain for a delaying action by his small cavalry division against superior Confederate infantry forces, meant to buy time awaiting the arrival of Union infantrymen who could occupy the strong defensive positions south of town at Cemetery Hill, Cemetery Ridge, and Culp's Hill. Buford understood that if the Confederates could gain control of these heights, Meade's army would have difficulty dislodging them.

Heth's division advanced with two brigades forward, commanded by brigadier generals James J. Archer and Joseph R. Davis. They proceeded easterly in columns along the Chambersburg Pike. Three mi (5 km) west of town, about 7:30 a.m. on July 1, the two brigades met light resistance from vedettes of Union cavalry, and deployed into line. According to lore, the Union soldier to fire the first shot of the battle was Lieutenant Marcellus Jones. Eventually Heth's men encountered dismounted troopers of Colonel William Gamble's cavalry brigade. The dismounted troopers resisted stoutly, delaying the Confederate advance with most firing their breech-loading Sharp's carbines from behind fences and trees. (A small number of troopers had other carbine models. A small minority of historians have written that some troopers had Spencer repeating carbines or Spencer repeating rifles but most sources disagree.) Still, by 10:20 am, the Confederates had pushed the Union cavalrymen east to McPherson Ridge, when the vanguard of the I Corps (Major General John F. Reynolds) finally arrived.

North of the pike, Davis gained a temporary success against Brigadier General Lysander Cutler's brigade but was repelled with heavy losses in an action around an unfinished railroad bed cut in the ridge. South of the pike, Archer's brigade assaulted through Herbst (also known as McPherson's) Woods. The Union Iron Brigade under Brigadier General Solomon Meredith enjoyed initial success against Archer, capturing several hundred men, including Archer himself.

General Reynolds was shot and killed early in the fighting while directing troop and artillery placements just to the east of the woods. Shelby Foote wrote that the Union cause lost a man considered by many to be "the best general in the army". Major General Abner Doubleday assumed command. Fighting in the Chambersburg Pike area lasted until about 12:30 pm. It resumed around 2:30 pm, when Heth's entire division engaged, adding the brigades of Pettigrew and Colonel John M. Brockenbrough.

As Pettigrew's North Carolina Brigade came on line, they flanked the 19th Indiana and drove the Iron Brigade back. The 26th North Carolina (the largest regiment in the army, with 839 men) lost heavily, leaving the first day's fight with around 212 men. By the end of the three-day battle, they had about 152 men standing, the highest casualty percentage for one battle of any regiment, North or South. Slowly the Iron Brigade was pushed out of the woods toward Seminary Ridge. Hill added Major General William Dorsey Pender's division to the assault, and the I Corps was driven back through the grounds of the Lutheran Seminary and Gettysburg streets.

As the fighting to the west proceeded, two divisions of Ewell's Second Corps, marching west toward Cashtown in accordance with Lee's order for the army to concentrate in that vicinity, turned south on the Carlisle and Harrisburg roads toward Gettysburg, while the Union XI Corps (Major General Oliver O. Howard) raced north on the Baltimore Pike and Taneytown Road. By early afternoon, the Union line ran in a semicircle west, north, and northeast of Gettysburg.

However, the Union did not have enough troops; Cutler, whose brigade was deployed north of the Chambersburg Pike, had his right flank in the air. The leftmost division of the XI Corps was unable to deploy in time to strengthen the line, so Doubleday was forced to throw in reserve brigades to salvage his line.

Around 2:00 p.m., the Confederate Second Corps divisions of major generals Robert E. Rodes and Jubal Early assaulted and out-flanked the Union I and XI corps' positions north and northwest of town. The Confederate brigades of Colonel Edward A. O'Neal and Brigadier General Alfred Iverson suffered severe losses assaulting the I Corps division of Brigadier General John C. Robinson south of Oak Hill. Early's division profited from a blunder by Brigadier General Francis C. Barlow, when he advanced his XI Corps division to Blocher's Knoll (directly north of town and now known as Barlow's Knoll); this represented a salient in the corps line, susceptible to attack from multiple sides, and Early's troops overran Barlow's division, which constituted the right flank of the Union Army's position. Barlow was wounded and captured in the attack.

As Union positions collapsed both north and west of town, Howard ordered a retreat to the high ground south of town at Cemetery Hill, where he had left the division of Brigadier General Adolph von Steinwehr in reserve. Major General Winfield S. Hancock assumed command of the battlefield, sent by Meade when he heard that Reynolds had been killed. Hancock, commander of the II Corps and Meade's most trusted subordinate, was ordered to take command of the field and to determine whether Gettysburg was an appropriate place for a major battle. Hancock told Howard, "I think this the strongest position by nature upon which to fight a battle that I ever saw." When Howard agreed, Hancock concluded the discussion: "Very well, sir, I select this as the battle-field." Hancock's determination had a morale-boosting effect on the retreating Union soldiers, but he played no direct tactical role on the first day.

General Lee understood the defensive potential to the Union if they held this high ground. He sent orders to Ewell that Cemetery Hill be taken "if practicable". Ewell, who had previously served under Stonewall Jackson, a general well known for issuing peremptory orders, determined such an assault was not practicable and, thus, did not attempt it; this decision is considered by historians to be a great missed opportunity.

The first day at Gettysburg, more significant than simply a prelude to the bloody second and third days, ranks as the 23rd biggest battle of the war by number of troops engaged. About one quarter of Meade's army (22,000 men) and one third of Lee's army (27,000) were engaged.

Second day of battle

Plans and movement to battle

Throughout the evening of July 1 and morning of July 2, most of the remaining infantry of both armies arrived on the field, including the Union II, III, V, VI, and XII Corps. Two of Longstreet's divisions were on the road: Brigadier General George Pickett, had begun the 22-mile (35 km) march from Chambersburg, while Brigadier General Evander M. Law had begun the march from Guilford. Both arrived late in the morning. Law completed his 28-mile (45 km) march in eleven hours.

The Union line ran from Culp's Hill southeast of the town, northwest to Cemetery Hill just south of town, then south for nearly two miles (3 km) along Cemetery Ridge, terminating just north of Little Round Top. Most of the XII Corps was on Culp's Hill; the remnants of I and XI Corps defended Cemetery Hill; II Corps covered most of the northern half of Cemetery Ridge; and III Corps was ordered to take up a position to its flank. The shape of the Union line is popularly described as a "fishhook" formation.

The Confederate line paralleled the Union line about one mile (1,600 m) to the west on Seminary Ridge, ran east through the town, then curved southeast to a point opposite Culp's Hill. Thus, the Union army had interior lines, while the Confederate line was nearly five miles (8 km) long.

Lee's battle plan for July 2 called for a general assault of Meade's positions. On the right, Longstreet's First Corps was to position itself to attack the Union left flank, facing northeast astraddle the Emmitsburg Road, and to roll up the Union line. The attack sequence was to begin with Maj. Gens. John Bell Hood's and Lafayette McLaws's divisions, followed by Major General Richard H. Anderson's division of Hill's Third Corps.

On the left, Lee instructed Ewell to position his Second Corps to attack Culp's Hill and Cemetery Hill when he heard the gunfire from Longstreet's assault, preventing Meade from shifting troops to bolster his left. Though it does not appear in either his or Lee's Official Report, Ewell claimed years later that Lee had changed the order to simultaneously attack, calling for only a "diversion", to be turned into a full-scale attack if a favorable opportunity presented itself.

Lee's plan, however, was based on faulty intelligence, exacerbated by Stuart's continued absence from the battlefield. Though Lee personally reconnoitered his left during the morning, he did not visit Longstreet's position on the Confederate right. Even so, Lee rejected suggestions that Longstreet move beyond Meade's left and attack the Union flank, capturing the supply trains and effectively blocking Meade's escape route.

Lee did not issue orders for the attack until 11:00 a.m. About noon, General Anderson's advancing troops were discovered by General Sickles's outpost guard and the Third Corps—upon which Longstreet's First Corps was to form—did not get into position until 1:00 pm.