Question: In what U.S. conflict was involved the most famous army of the Confederacy?

full_context: Document 1: North Carolina: Confederate troops from all parts of North Carolina served in virtually all the major battles of the Army of Northern Virginia, the Confederacy's most famous army. The largest battle fought in North Carolina was at Bentonville, which was a futile attempt by Confederate General Joseph Johnston to slow Union General William Tecumseh Sherman's advance through the Carolinas in the spring of 1865. In April 1865, after losing the Battle of Morrisville, Johnston surrendered to Sherman at Bennett Place, in what is today Durham. North Carolina's port city of Wilmington was the last Confederate port to fall to the Union, in February 1865, after the Union won the nearby Second Battle of Fort Fisher, its major defense downriver.
Document 2: Battle of Antietam: The Battle of Antietam / ænˈtiːtəm /, also known as the Battle of Sharpsburg, particularly in the Southern United States, was a battle of the American Civil War, fought on September 17, 1862, between Confederate General Robert E. Lee's Army of Northern Virginia and Union General George B. McClellan's Army of the Potomac, near Sharpsburg, Maryland and Antietam Creek. Part of the Maryland Campaign, it was the first field army -- level engagement in the Eastern Theater of the American Civil War to take place on Union soil. It was the bloodiest day in United States history, with a combined tally of 22,717 dead, wounded, or missing.
Document 3: Raleigh, North Carolina: After the Civil War began, Governor Zebulon Baird Vance ordered the construction of breastworks around the city as protection from Union troops. During General Sherman's Carolinas Campaign, Raleigh was captured by Union cavalry under the command of General Hugh Judson Kilpatrick on April 13, 1865. As the Confederate cavalry retreated west, the Union soldiers followed, leading to the nearby Battle of Morrisville. The city was spared significant destruction during the War, but due to the economic problems of the post-war period and Reconstruction, with a state economy based on agriculture, it grew little over the next several decades.
Document 4: Army of Northern Virginia: The first commander of the Army of Northern Virginia was General P.G.T. Beauregard (under its previous name, the Confederate Army of the Potomac) from June 20 to July 20, 1861. His forces consisted of six brigades, with various militia and artillery from the former Department of Alexandria. During his command, Gen. Beauregard is noted for creating the battle flag of the army, which came to be the primary battle flag for all corps and forces under the Army of Northern Virginia. The flag was designed due to confusion during battle between the Confederate ``Stars and Bars ''flag and the flag of the United States. Beauregard continued commanding these troops as the new First Corps under Gen. J.E. Johnston as it was joined by the Army of the Shenandoah on July 20, 1861, when command was relinquished to General J.E. Johnston. The following day this army fought its first major engagement in the First Battle of Manassas.
Document 5: Tennessee: Confederates held East Tennessee despite the strength of Unionist sentiment there, with the exception of extremely pro-Confederate Sullivan County. The Confederates, led by General James Longstreet, did attack General Burnside's Fort Sanders at Knoxville and lost. It was a big blow to East Tennessee Confederate momentum, but Longstreet won the Battle of Bean's Station a few weeks later. The Confederates besieged Chattanooga during the Chattanooga Campaign in early fall 1863, but were driven off by Grant in November. Many of the Confederate defeats can be attributed to the poor strategic vision of General Braxton Bragg, who led the Army of Tennessee from Perryville, Kentucky to another Confederate defeat at Chattanooga.
Document 6: Battle of Gettysburg, First Day: 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 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.
Document 7: Battle of Appomattox Court House: The Battle of Appomattox Court House (Virginia, U.S.), fought on the morning of April 9, 1865, was one of the last battles of the American Civil War (1861 -- 1865). It was the final engagement of Confederate States Army General - in - Chief, Robert E. Lee, and his Army of Northern Virginia before it surrendered to the Union Army of the Potomac under the Commanding General of the United States, Ulysses S. Grant. Lee, having abandoned the Confederate capital of Richmond, Virginia, after the nine and one - half month Siege of Petersburg and Richmond, retreated west, hoping to join his army with the remaining Confederate forces in North Carolina, the Army of Tennessee under Gen. Joseph E. Johnston. Union infantry and cavalry forces under Gen. Philip Sheridan pursued and cut off the Confederates' retreat at the central Virginia village of Appomattox Court House. Lee launched a last - ditch attack to break through the Union forces to his front, assuming the Union force consisted entirely of lightly armed cavalry. When he realized that the cavalry was now backed up by two corps of Federal infantry, he had no choice but to surrender with his further avenue of retreat and escape now cut off.
Document 8: Gettysburg Cyclorama: The Battle of Gettysburg, also known as the Gettysburg Cyclorama, is a cyclorama painting by the French artist Paul Philippoteaux depicting Pickett's Charge, the climactic Confederate attack on the Union forces during the Battle of Gettysburg on July 3, 1863.
Document 9: First Battle of Bull Run: The First Battle of Bull Run (the name used by Union forces), also known as the First Battle of Manassas (the name used by Confederate forces), was fought on July 21, 1861 in Prince William County, Virginia, just north of the city of Manassas and about 25 miles west - southwest of Washington, D.C. It was the first major battle of the American Civil War. The Union's forces were slow in positioning themselves, allowing Confederate reinforcements time to arrive by rail. Each side had about 18,000 poorly trained and poorly led troops in their first battle. It was a Confederate victory, followed by a disorganized retreat of the Union forces.
Document 10: First Battle of Bull Run: The First Battle of Bull Run (the name used by Union forces), also known as the Battle of First Manassas (the name used by Confederate forces), was fought on July 21, 1861 in Prince William County, Virginia, just north of the city of Manassas and about 25 miles west - southwest of Washington, D.C. It was the first major battle of the American Civil War. The Union's forces were slow in positioning themselves, allowing Confederate reinforcements time to arrive by rail. Each side had about 18,000 poorly trained and poorly led troops in their first battle. It was a Confederate victory, followed by a disorganized retreat of the Union forces.
Document 11: Conclusion of the American Civil War: The Army of Northern Virginia surrendered on April 9 around noon followed by General St. John Richardson Liddell's troops some six hours later. Mosby's Raiders disbanded on April 21, General Joseph E. Johnston and his various armies surrendered on April 26, the Confederate departments of Alabama, Mississippi and East Louisiana surrendered on May 4, and the Confederate District of the Gulf, commanded by Major General Dabney Herndon Maury, surrendered on May 5. Confederate President Jefferson Davis was captured on May 10, along with the Confederate Departments of Florida and South Georgia, commanded by Confederate Major General Samuel Jones. Also on May 10, U.S. President Andrew Johnson declared the rebellion's armed resistance virtually ended. Thompson's Brigade surrendered on May 11, Confederate forces of North Georgia surrendered on May 12, and Kirby Smith surrendered on May 26 (officially signed June 2). The last battle of the American Civil War was the Battle of Palmito Ranch in Texas on May 12 and 13. The last significant Confederate active force to surrender was the Confederate allied Cherokee Brigadier General Stand Watie and his Indian soldiers on June 23. The last Confederate surrender occurred on November 6, 1865, when the Confederate warship CSS Shenandoah surrendered at Liverpool, England. President Johnson formally declared the end of the war on August 20, 1866.
Document 12: Confederate States Army: Some soldiers also deserted from ideological motivations. A growing threat to the solidarity of the Confederacy was dissatisfaction in the Appalachian mountain districts caused by lingering unionism and a distrust of the slave power. Many of their soldiers deserted, returned home, and formed a military force that fought off regular army units trying to punish them. North Carolina lost 23% of its soldiers (24,122) to desertion. The state provided more soldiers per capita than any other Confederate state, and had more deserters as well.
Document 13: Battle of Carlisle: The Battle of Carlisle was an American Civil War skirmish fought in Pennsylvania on the same day as the Battle of Gettysburg, First Day. Stuart's Confederate cavalry briefly engaged Union militia under Maj. Gen. William F. "Baldy" Smith at Carlisle and set fire to the Carlisle Barracks. Stuart's cavalry withdrew and arrived at the Battle of Gettysburg, Second Day, to the annoyance and concern of Gen. Robert E. Lee.
Document 14: Battle of Antietam: The Battle of Antietam / ænˈtiːtəm /, also known as the Battle of Sharpsburg, particularly in the Southern United States, was fought on September 17, 1862, between Confederate General Robert E. Lee's Army of Northern Virginia and Union General George B. McClellan's Army of the Potomac, near Sharpsburg, Maryland and Antietam Creek as part of the Maryland Campaign. It was the first field army -- level engagement in the Eastern Theater of the American Civil War to take place on Union soil and is the bloodiest single - day battle in American history, with a combined tally of 22,717 dead, wounded, or missing.
Document 15: North Carolina: The first Confederate soldier to be killed in the Civil War was Private Henry Wyatt from North Carolina, in the Battle of Big Bethel in June 1861. At the Battle of Gettysburg in July 1863, the 26th North Carolina Regiment participated in Pickett/Pettigrew's Charge and advanced the farthest into the Northern lines of any Confederate regiment. During the Battle of Chickamauga, the 58th North Carolina Regiment advanced farther than any other regiment on Snodgrass Hill to push back the remaining Union forces from the battlefield. At Appomattox Court House in Virginia in April 1865, the 75th North Carolina Regiment, a cavalry unit, fired the last shots of the Confederate Army of Northern Virginia in the Civil War. For many years, North Carolinians proudly boasted that they had been "First at Bethel, Farthest at Gettysburg and Chickamauga, and Last at Appomattox."
ground_truth: American Civil War
sub_queries: What was the name of the Confederacys most famous army? Answer: Army of Northern Virginia
Army of Northern Virginia >> conflict Answer: American Civil War