Question: who was the us president when uncle sam got his nickname
Answer: Ulysses S. Grant ( born Hiram Ulysses Grant , April 27 , 1822 -- July 23 , 1885 ) was a prominent United States Army general during the American Civil War and Commanding General at the conclusion of that war .