<Li> Sailor's Creek </Li> <Li> Appomattox Court House </Li> <P> 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 . </P> <P> The signing of the surrender documents occurred in the parlor of the house owned by Wilmer McLean on the afternoon of April 9 . On April 12, a formal ceremony of parade and the stacking of arms led by Southern Maj. Gen. John B. Gordon to Federal Brig. Gen. Joshua Chamberlain of Maine marked the disbandment of the Army of Northern Virginia with the parole of its nearly 28,000 remaining officers and men, free to return home without their major weapons but enabling men to take their horses and officers to retain their sidearms (swords and pistols), and effectively ending the war in Virginia . This event triggered a series of subsequent surrenders across the South, in North Carolina, Alabama and finally Shreveport, Louisiana, for the Trans - Mississippi Theater in the West by June, signaling the end of the four - year - long war . </P>

Who won the battle of appomattox in the civil war