After the fall of Petersburg and Richmond, Lee’s Army of Northern Virginia retreated westward, pursued relentlessly by Grant’s forces. This grueling pursuit, marked by constant skirmishes and dwindling supplies, ended at Appomattox Court House, where Lee, recognizing the hopelessness of further resistance, chose to surrender on April 9, 1865.