Conversation so far:
In what year did retirement take place for Lew Wallace?
Wallace resigned from the U.S. Army in November 1865 and briefly served as a major general in the Mexican army, before returning to the United States.
Where was Lew Wallace stationed when he retired?
On January 22, 1865, Grant ordered Wallace to the Rio Grande in southern Texas to investigate Confederate military operations in the area.
What did Lew Wallace do for the U.S. military?
Wallace's military career included service in the Mexican–American War and the American Civil War.
Do Lew Wallace do any work for the U.S. government?
Wallace was appointed governor of the New Mexico Territory (1878–81)

Question: Who was the president at the time?
Self-contained rewrite: Who was the U.S. president at the time Lew Wallace was appointed governor of the New Mexico Territory?