Title: Camp Letterman
Content:  One of the most important military engagements of the American Civil War, the Battle of Gettysburg was waged over the first three days of July 1863 between the United States' Army of the Potomac, which was commanded by Major-General George Gordon Meade, and the Confederate States of America's Army of Northern Virginia, which had been marched north into Maryland and Pennsylvania by its commanding Major-General Robert E. Lee. Clashing near the town of Gettysburg, Pennsylvania, the conflict quickly escalated into an intense combat situation with multiple, memorable skirmishes and battles, including Seminary Ridge, Little Round Top and Pickett's Charge. Meade's Union 
Title: Battle of Gettysburg
Content:  The Battle of Gettysburg was fought July 1–3, 1863, in and around the town of Gettysburg, Pennsylvania, by Union and Confederate forces during the American Civil War. In the battle, Union Maj. Gen. George Meade's Army of the Potomac defeated attacks by Confederate Gen. Robert E. Lee's Army of Northern Virginia, halting Lee's invasion of the North. The battle involved the largest number of casualties of the entire war and is often described as the war's turning point due to the Union's decisive victory and concurrence with the Siege of Vicksburg. After his success at Chancellorsville in Virginia in May 
Title: Battle of Gettysburg half dollar
Content:  The Battle of Gettysburg was fought July 1–3, 1863, in and around the town of Gettysburg, Pennsylvania, by Union and Confederate forces during the American Civil War. The battle involved the largest number of casualties of the entire war and is often described as the war's turning point. Union Maj. Gen. George Meade's Army of the Potomac defeated attacks by Confederate Gen. Robert E. Lee's Army of Northern Virginia, halting Lee's invasion of the North. The battle took place over three days and took the lives of 23,000–28,000 (estimated) Confederates and 23,049 Union soldiers
Title: Gettysburg, Pennsylvania
Content:  Between July 1 and 3, 1863, the Battle of Gettysburg, one of the largest battles during the American Civil War, was fought across the fields and heights in the vicinity of the town. The Confederate Army of Northern Virginia, under the command of Robert E Lee, experienced success in the early stages of the battle but was ultimately defeated by the Army of the Potomac, commanded by George G. Meade. Lee executed an orderly withdrawal and escaped across the Potomac River without being drawn into another battle. Meade was heavily criticized by President Abraham Lincoln for his cautious pursuit and failure to destroy Lee's retreating army. Casualties were high with total losses on both sides – over 27,000 Confederate and 23,000 
Title: Battle of Gettysburg
Content: 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. ; 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 
Title: Gettysburg Confederate order of battle
Content:  The Confederate order of battle during the Battle of Gettysburg includes the American Civil War officers and men of the Army of Northern Virginia (multiple commander names indicate command succession during the three-day battle (July 1&ndash;3, 1863)). Order of battle compiled from the army organization during the battle, the casualty returns and the reports.
Title: Battle of Gettysburg, first day
Content:  [[File:Gettysburg Battle Map Day1.png|thumb|upright=1.6|Overview of the first day of the Battle of Gettysburg, July 1, 1863 ]]The first day of the Battle of Gettysburg during the American Civil War took place on July 1, 1863, and began as an engagement between isolated units of the Army of Northern Virginia under Confederate General Robert E. Lee and the Army of the Potomac under Union [[Major general (United States)|Maj. Gen.]] George G. Meade. It soon escalated into a major battle which culminated in the outnumbered and defeated Union forces retreating to the high ground south of Gettysburg, Pennsylvania. The first-day battle proceeded in three phases as combatants continued to arrive at the battlefield. In the morning, two brigades of Confederate Maj. Gen. Henry Heth's division (of Lt. Gen. A.P. Hill's Third Corps) 
Title: Battle of Gettysburg
Content:  infantry assault by 12,500 Confederates against the center of the Union line on Cemetery Ridge, known as Pickett's Charge. The charge was repelled by Union rifle and artillery fire, at great loss to the Confederate army. Lee led his army on a torturous retreat back to Virginia. Between 46,000 and 51,000 soldiers from both armies were casualties in the three-day battle, the most costly in US history. On November 19, President Lincoln used the dedication ceremony for the Gettysburg National Cemetery to honor the fallen Union soldiers and redefine the purpose of the war in his historic Gettysburg Address.
Title: Battle of Gettysburg
Content:  on July 1, 1863, as Lee urgently concentrated his forces there, his objective being to engage the Union army and destroy it. Low ridges to the northwest of town were defended initially by a Union cavalry division under Brig. Gen. John Buford, and 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 the town to the hills just to the south. On the second day of battle, most of both armies had assembled. The 
Title: 1st West Virginia Cavalry Regiment
Content:  The Battle of Gettysburg began on the next day, lasting from July 1 through July 3. The Union Army of the Potomac, commanded by General George G. Meade, defeated the invading Confederate Army of Northern Virginia commanded by General Robert E. Lee. Over 150,000 men (both sides combined) fought in this battle, and casualties are estimated to be around 51,000. Farnsworth's brigade did not encounter any enemy forces for the first two days (July 1 and 2) of the battle. Late in the afternoon on the third day of the battle, Kilpatrick ordered Farnsworth to make a mounted charge against a Confederate infantry position that was fortified and near ground difficult 

Question: who fought the battle of gettysburg?
Answer: Confederate States of America.