<Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> July 1--3, 1863 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Gettysburg, Adams County, Pennsylvania 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 Coordinates: 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 </Td> </Tr> <Tr> <Th> Result </Th> <Td> Union victory </Td> </Tr> </Table> </Td> </Tr> <Table> <Tr> <Th> Date </Th> <Td> July 1--3, 1863 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Gettysburg, Adams County, Pennsylvania 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 Coordinates: 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 </Td> </Tr> <Tr> <Th> Result </Th> <Td> Union victory </Td> </Tr> </Table> <Tr> <Th> Date </Th> <Td> July 1--3, 1863 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Gettysburg, Adams County, Pennsylvania 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 Coordinates: 39 ° 48 ′ 40" N 77 ° 13 ′ 30" W ﻿ / ﻿ 39.811 ° N 77.225 ° W ﻿ / 39.811; - 77.225 </Td> </Tr>

Who won the battle of gettysburg and why