On April 9th,1865 Robert E. Lee surrendered to Ulysses S. Grant at Appomattox Courthouse in Virginia. This bought the end of the U.S. Civil War. In the movie it shows Lee exit the courthouse in shame.