<Table> <Tr> <Th_colspan="2"> Battle of Shiloh (Battle of Pittsburg Landing) </Th> </Tr> <Tr> <Td_colspan="2"> Part of American Civil War </Td> </Tr> <Tr> <Td_colspan="2"> Battle of Shiloh, by Thure de Thulstrup </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> April 6--7, 1862 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Hardin County, Tennessee 35 ° 09 ′ 02" N 88 ° 19 ′ 19" W ﻿ / ﻿ 35.15068 ° N 88.32183 ° W ﻿ / 35.15068; - 88.32183 Coordinates: 35 ° 09 ′ 02" N 88 ° 19 ′ 19" W ﻿ / ﻿ 35.15068 ° N 88.32183 ° W ﻿ / 35.15068; - 88.32183 </Td> </Tr> <Tr> <Th> Result </Th> <Td> Union victory </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th_colspan="2"> Belligerents </Th> </Tr> <Tr> <Td> United States (Union) </Td> <Td> Confederate States </Td> </Tr> <Tr> <Th_colspan="2"> Commanders and leaders </Th> </Tr> <Tr> <Td> Ulysses S. Grant Don Carlos Buell </Td> <Td> Albert Sidney Johnston † P.G.T. Beauregard </Td> </Tr> <Tr> <Th_colspan="2"> Units involved </Th> </Tr> <Tr> <Td> <Ul> <Li> Army of the Tennessee </Li> <Li> Army of the Ohio </Li> </Ul> </Td> <Td> Army of Mississippi </Td> </Tr> <Tr> <Th_colspan="2"> Strength </Th> </Tr> <Tr> <Td> <P> ∼ 63,000 (estimated): </P> <Ul> <Li> Army of the Tennessee: 44,894 </Li> <Li> Army of the Ohio: ∼ 17,918 </Li> </Ul> </Td> <Td> 40,335 </Td> </Tr> <Tr> <Th_colspan="2"> Casualties and losses </Th> </Tr> <Tr> <Td> 13,047 (1,754 killed; 8,408 wounded; 2,885 captured / missing) </Td> <Td> 10,699 (1,728 killed; 8,012 wounded; 959 captured / missing) </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Battle of Shiloh (Battle of Pittsburg Landing) </Th> </Tr>

Who won the battle of shiloh confederate or union