 Lee then rode into the little hamlet of Appomattox Court House, where the Appomattox county court house stood, and waited for Grant's arrival to surrender his army.The Confederates lost the city of Spanish Fort in Alabama at the Battle of Spanish Fort, which took place between March 27 and April 8, 1865 in Baldwin County.After losing Spanish Fort, the Confederates went on to lose Fort Blakely to Union forces at the Battle of Fort Blakely, between April 2 and 9, 1865.