<Table> <Tr> <Th_colspan="2"> Peninsula Campaign </Th> </Tr> <Tr> <Td_colspan="2"> Part of the American Civil War </Td> </Tr> <Tr> <Td_colspan="2"> George B. McClellan and Joseph E. Johnston, respective commanders of the Union and Confederate armies in the Peninsula Campaign </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> March--July 1862 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Virginia Peninsula, between the York and James Rivers 37 ° 16 ′ 26" N 76 ° 36 ′ 35" W ﻿ / ﻿ 37.27389 ° N 76.60972 ° W ﻿ / 37.27389; - 76.60972 Coordinates: 37 ° 16 ′ 26" N 76 ° 36 ′ 35" W ﻿ / ﻿ 37.27389 ° N 76.60972 ° W ﻿ / 37.27389; - 76.60972 </Td> </Tr> <Tr> <Th> Result </Th> <Td> Confederate victory; Union withdrawal from the Peninsula . </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th_colspan="2"> Belligerents </Th> </Tr> <Tr> <Td> United States </Td> <Td> Confederate States </Td> </Tr> <Tr> <Th_colspan="2"> Commanders and leaders </Th> </Tr> <Tr> <Td> George B. McClellan </Td> <Td> Joseph E. Johnston Gustavus Woodson Smith Robert E. Lee John B. Magruder </Td> </Tr> <Tr> <Th_colspan="2"> Units involved </Th> </Tr> <Tr> <Td> Army of the Potomac </Td> <Td> Army of Northern Virginia </Td> </Tr> <Tr> <Th_colspan="2"> Strength </Th> </Tr> <Tr> <Td> <Ul> <Li> 102,236 (May 20); </Li> <Li> 105,857 (June 20); </Li> <Li> 88,445 (July 10) </Li> </Ul> </Td> <Td> <Ul> <Li> 94,813 (May 31) </Li> <Li> 112,220 (June 26) </Li> <Li> 74,065 (July 20) </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Casualties and losses </Th> </Tr> <Tr> <Td> 23,119 </Td> <Td> 29,298 </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Peninsula Campaign </Th> </Tr>

Who won the battles of the peninsula campaign