The Battle of Appomattox Court House, fought on the morning of April 9, 1865, was one of the last battles of the American Civil War. It was the final engagement of Confederate Army general Robert E. Lee 's Army of Northern Virginia before it surrendered to the Union Army under Lt. Gen. Ulysses S. Grant.