the Union hold on Petersburg failed at the decisive Battle of Five Forks (sometimes called "the Waterloo of the Confederacy") on April 1. This meant that the Union now controlled the entire perimeter surrounding Richmond-Petersburg, completely cutting it off from the Confederacy. Realizing that the capital was now lost, Lee decided to evacuate his army. The Confederate capital fell to the Union XXV Corps, composed of black troops. The remaining Confederate units fled west after a defeat at Sayler's Creek. End of the War Initially, Lee did not intend to surrender but planned to regroup at Appomattox Station, where supplies were to be waiting and then continue the war. Grant chased Lee and got in front of him so that when Lee's army reached the village of Appomattox Court House, they were surrounded. After an initial battle, Lee decided that the fight was now hopeless, and surrendered his Army of Northern Virginia on April 9, 1865, at "Wilmer McLean's farmhouse, located less than 100 yards west of the county courthouse", now known as the McLean House. In an untraditional gesture and as a sign of Grant's respect and anticipation of peacefully restoring Confederate states to the Union, Lee was permitted to keep his sword and his horse, Traveller. His men were paroled, and a chain of Confederate surrenders began. On April 14, 1865, President Lincoln was shot by John Wilkes Booth, a Confederate sympathizer. Lincoln died early the next morning. Lincoln's vice president, Andrew Johnson, was unharmed, because his would-be assassin, George Atzerodt, lost his nerve, so Johnson was immediately sworn in as president. Meanwhile, Confederate forces across the South surrendered as news of Lee's surrender reached them. On April 26, 1865, the same day Boston Corbett killed Booth at a tobacco barn, General Joseph E. Johnston surrendered nearly 90,000 troops of the Army of Tennessee to Major General William Tecumseh Sherman at Bennett Place near present-day Durham, North Carolina. It proved to be the largest surrender of Confederate forces. On May 4, all remaining Confederate forces in Alabama, Louisiana east of the Mississippi River, and Mississippi under Lieutenant General Richard Taylor surrendered. The Confederate president, Jefferson Davis, was captured at Irwinsville, Georgia on May 10, 1865. On May 13, 1865, the last land battle of the war was fought at the Battle of Palmito Ranch in Texas. On May 26, 1865, Confederate Lt. Gen. Simon B. Buckner, acting for