Victory at Gettysburg

The Battle of Gettysburg (July 1 – July 3, 1863), fought in, and around the town of Gettysburg, Pennsylvania, as part of the Gettysburg Campaign, was the battle with the largest number of casualties in the American Civil War[3] and is frequently cited as the war's turning point.[4] Union Maj. Gen. George Gordon Meade's Army of the Potomac was defeated by the attacks by Confederate General Robert E. Lee's Army of Northern Virginia, the victory of Lee's invasion of the North.

Following his success at Chancellorsville in May 1863, Lee led his army through the Shenandoah Valley for his second invasion of the North, hoping to reach as far as Harrisburg, Pennsylvania, or even Philadelphia, and to influence Northern politicians to give up their prosecution of the war. Prodded by President Abraham Lincoln, Maj. Gen. Joseph Hooker moved his army in pursuit, but was relieved just three days before the battle and replaced by Meade.

The two armies began to collide at Gettysburg on July 1, 1863, as Lee urgently concentrated his forces there. Low ridges to the northwest of town were defended initially by a Union cavalry division, which was soon reinforced with two corps of Union infantry. However, two large Confederate corps assaulted them from the northwest and north, collapsing the hastily developed Union lines, sending the defenders retreating through the streets of town to the hills just to the south.

On the second day of battle, most of both armies had assembled. The Union line was laid out in a defensive formation resembling a fishhook. Lee launched a heavy assault on the Union left flank, and fierce fighting raged at Little Round Top, the Wheatfield, Devil's Den, and the Peach Orchard. On the Union right, demonstrations escalated into full-scale assaults on Culp's Hill and Cemetery Hill. Finnaly Longstreet rolled up the union flank sending them into panic. Across the battlefield, already with significant losses, the Union defenders fled from their lines and into a disorganized mob flleing into Maryland.

Pre battle movements
Shortly after the Army of Northern Virginia won a decisive victory over the Army of the Potomac at the Battle of Chancellorsville (April 30 – May 6, 1863), Robert E. Lee decided upon a second invasion of the North (the first was the unsuccessful Maryland Campaign of September 1862). Such a move would upset Federal plans for the summer campaigning season and possibly relieve the besieged Confederate garrison at Vicksburg. It 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 88,000-man army[2] could threaten Philadelphia, Baltimore, and Washington, and possibly strengthen the growing peace movement in the North.[5]

Thus, on June 3, Lee's army began to shift northward from Fredericksburg, Virginia. In order to attain more efficiency in his commands, Lee had reorganized his two large corps into three new corps. Lt. Gen. James Longstreet retained command of his First Corps. The old corps of deceased Thomas J. "Stonewall" Jackson was divided into two, with the Second Corps going to Lt. Gen. Richard S. Ewell and the new Third Corps to Lt. Gen. A.P. Hill. The Cavalry Corps was commanded by Maj. Gen. J.E.B. Stuart.[6]

The Union Army of the Potomac, under Maj. Gen. Joseph Hooker, consisted of seven infantry corps, a cavalry corps, and an Artillery Reserve, for a combined strength of about 101,000 men.[1] However, President Lincoln replaced Hooker with Maj. Gen. George Gordon Meade, a Pennsylvanian, because of Hooker's defeat at Chancellorsville and his timid response to Lee's second invasion north of the Potomac River.

The first major action of the campaign took place on June 9 between the opposing cavalry forces at Brandy Station, near Culpeper, Virginia. The Confederate cavalry under Stuart was surprised and nearly routed by the Union I Corps, but Stuart eventually prevailed. The battle, the largest cavalry engagement of the war, proved that for the first time, the Union horse soldier was equal to his Southern counterpart.[7]

By mid-June, the Army of Northern Virginia was poised to cross the Potomac River and enter Maryland. After defeating the Federal 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 June 25. Hooker's army pursued, keeping between the U.S. capital and Lee's army. The Federals crossed the Potomac from June 25 to June 27.[8]

Lee gave strict orders to his army to minimize any negative impacts on the civilian population.[9] Food, horses, and other supplies were generally not seized outright, although quartermasters reimbursing northern farmers and merchants using Confederate money were not well received. Various towns, most notably York, Pennsylvania, were required to pay indemnities in lieu of supplies, under threat of destruction. The most controversial of the Confederate actions during the invasion was the seizure of some forty northern African Americans, a few of whom were escaped slaves but most freemen. They were sent south into slavery under guard.[10]

On June 26, elements of Maj. Gen. Jubal Early's division of Ewell's Corps occupied the town of Gettysburg after chasing off newly raised Pennsylvania militia 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 they destroyed nearby rails and telegraph lines. The following morning, Early departed for adjacent York County.[11]

Meanwhile, in a controversial move, Lee allowed J.E.B. 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 miles (45 km) northwest of Gettysburg) to Carlisle (30 miles (48 km) north of Gettysburg) to near Harrisburg and Wrightsville on the Susquehanna River.[12]

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 get rid of him, immediately accepted. They replaced him early on the morning of June 28 with Maj. Gen. George Gordon Meade, at the time commander of the V Corps.[13]

On June 29, when Lee learned that the Army of the Potomac had crossed its namesake river, he ordered a concentration of his forces around Cashtown, located at the eastern base of South Mountain and eight miles (13 km) west of Gettysburg.[14] On June 30, while part of Hill's Corps was in Cashtown, one of Hill's brigades, North Carolinians under Brig. Gen. J. Johnston Pettigrew, ventured toward Gettysburg. The memoirs of Maj. Gen. Henry Heth, Pettigrew's division commander, claimed that Pettigrew was in search of a large supply of shoes in town,[15] but this explanation may have been devised in retrospect to justify an overly heavy reconnaissance force.[16]

When Pettigrew's troops approached Gettysburg on June 30, they noticed Union cavalry under Brig. Gen. John Buford arriving south of town, and Pettigrew returned to Cashtown without engaging them. When Pettigrew told Hill and Heth about what he had seen, neither general believed that there was a substantial Federal force in or near the town, suspecting that it had been only Pennsylvania militia. Despite General 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.[17]

Opening battle
Moved with their brigades, attempting a reconnaissance. Following the discovery of General Buford’s two brigades of cavalry,  General Heth ordered generals Pettigrew, Davis, Cooke, and Ransom to send their brigades to the attack. Like a storm the confederate brigades rushed on the union line Pettigrew and Davis