Where did Robert E. Lee surrendered to end the Civil war?

Robert E. Lee surrendered to end the Civil War at the Appomattox Court House in Appomattox, Virginia on April 9, 1865.