Ulysses S. Grant was the 18th President of the United States as well as military commander during the Civil War and post-war Reconstruction periods. Under Grant's command, the Union Army defeated the Confederate military and ended the Confederate States of America.