The American Civil War happened in the northern United States .
The Union finally won the war when General Robert E. Lee surrendered to General Ulysses S. Grant at the battle of Appomattox , which triggered a series of surrenders by Confederate generals throughout the southern states .