<Table> <Tr> <Th_colspan="2"> Union Army </Th> </Tr> <Tr> <Td_colspan="2"> Flag of the United States from 1863 until 1865 (35 states / stars) </Td> </Tr> <Tr> <Th> Active </Th> <Td> February 28, 1861--May 26, 1865 (4 years, 2 months and 4 weeks) </Td> </Tr> <Tr> <Th> Country </Th> <Td> United States </Td> </Tr> <Tr> <Th> Type </Th> <Td> Army </Td> </Tr> <Tr> <Th> Size </Th> <Td> 2,128,948 total who served </Td> </Tr> <Tr> <Th> Part of </Th> <Td> U.S. Department of War </Td> </Tr> <Tr> <Th> Colors </Th> <Td> dark blue </Td> </Tr> <Tr> <Th> March </Th> <Td> "Battle Hymn of the Republic" </Td> </Tr> <Tr> <Th> Engagements </Th> <Td> <P> American Indian Wars American Civil War </P> <Ul> <Li> Fort Sumter </Li> <Li> First Bull Run </Li> <Li> Wilson's Creek </Li> <Li> Forts Henry and Donelson </Li> <Li> Shenandoah </Li> <Li> South Mills </Li> <Li> Richmond </Li> <Li> Harpers Ferry </Li> <Li> Munfordville </Li> <Li> Shepherdstown </Li> <Li> Chambersburg Raid </Li> <Li> Mississippi River </Li> <Li> Peninsula </Li> <Li> Shiloh </Li> <Li> Jackson's Valley Campaign </Li> <Li> Second Bull Run </Li> <Li> South Mountain </Li> <Li> Antietam </Li> <Li> Hartsville </Li> <Li> Fredericksburg </Li> <Li> Stones River </Li> <Li> Chancellorsville </Li> <Li> Gettysburg </Li> <Li> Champion Hill </Li> <Li> Vicksburg siege </Li> <Li> Corydon </Li> <Li> Chickamauga </Li> <Li> Chattanooga </Li> <Li> Wilderness </Li> <Li> Atlanta </Li> <Li> Spotsylvania </Li> <Li> Sabine Pass </Li> <Li> New Hope Church </Li> <Li> Pickett's Mill </Li> <Li> Cold Harbor </Li> <Li> Plymouth </Li> <Li> Fort Pillow </Li> <Li> Petersburg siege </Li> <Li> Kennesaw Mountain </Li> <Li> Jonesborough </Li> <Li> Franklin </Li> <Li> Nashville </Li> <Li> Appomattox Court House </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Commanders </Th> </Tr> <Tr> <Th> Commander - in - Chief </Th> <Td> 16th President of the United States - Abraham Lincoln (1861 - 1865) 17th President Andrew Johnson (1865) </Td> </Tr> <Tr> <Th> General - in - Chief </Th> <Td> 1st: Winfield Scott 2nd: George B. McClellan 3rd: Henry W. Halleck Final: Ulysses S. Grant </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Union Army </Th> </Tr>

Who was the president of the union army