<Tr> <Td_colspan="2"> Clockwise from top: Battle of Gettysburg, Union Captain John Tidball's artillery, Confederate prisoners, ironclad USS Atlanta, ruins of Richmond, Virginia, Battle of Franklin </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> April 12, 1861--May 9, 1865 (by proclamation) (4 years, 3 weeks and 6 days) (Last shot fired June 22, 1865) </Td> </Tr> <Tr> <Th> Location </Th> <Td> Southern United States, Northeastern United States, Western United States, Atlantic Ocean </Td> </Tr> <Tr> <Th> Result </Th> <Td> <P> Union victory </P> <Ul> <Li> Dissolution of the Confederate States </Li> <Li> U.S. territorial integrity preserved </Li> <Li> Slavery abolished </Li> <Li> Beginning of the Reconstruction Era </Li> </Ul> </Td> </Tr> </Table> </Td> </Tr> <Table> <Tr> <Th> Date </Th> <Td> April 12, 1861--May 9, 1865 (by proclamation) (4 years, 3 weeks and 6 days) (Last shot fired June 22, 1865) </Td> </Tr> <Tr> <Th> Location </Th> <Td> Southern United States, Northeastern United States, Western United States, Atlantic Ocean </Td> </Tr> <Tr> <Th> Result </Th> <Td> <P> Union victory </P> <Ul> <Li> Dissolution of the Confederate States </Li> <Li> U.S. territorial integrity preserved </Li> <Li> Slavery abolished </Li> <Li> Beginning of the Reconstruction Era </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th> Date </Th> <Td> April 12, 1861--May 9, 1865 (by proclamation) (4 years, 3 weeks and 6 days) (Last shot fired June 22, 1865) </Td> </Tr>

Who did the rebels fight in the civil war