At what battle did the confederate forces surrender

The Confederate forces surrendered at the Battle of Appomattox Court House on April 9, 1865. The surrender effectively marked the end of the American Civil War.