General Robert E. Lee was the most prominent commanding general of the Confederate States Army during the American Civil War (1861-1865).
United States:
General Ulysses S. Grant served as the commanding general of the Union Armies during the later stages of the American Civil War and went on to become the 18th President of the United States from 1869 to 1877.