The Battle of Appomattox Court House, fought in Appomattox County, Virginia, on the morning of April 9, 1865, was one of the last, and ultimately one of the most consequential, battles of the American Civil War (1861–1865). It was the final engagement of Confederate General in Chief Robert E. Lee and his Army of Northern Virginia before they surrendered to the Union Army of the Potomac under the Commanding General of the United States Army, Ulysses S. Grant.
Lee, having abandoned the Confederate capital of Richmond, Virginia, after the nine-and-a-half-month Siege of Petersburg and Richmond, retreated west, hoping to join his army with Confederate forces, the Army of Tennessee in North Carolina. Union infantry and cavalry forces under General 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.