Definition: Generate a correct and concise answer for the question based on the words in the context.
Input: Context : John S. Lanning (August 29, 1843 -- April 13, 1907) was a Union Navy sailor and a Medal of Honor recipient for his actions in the American Civil War.
Question : What war was John S. Lanning in?
Output:
American Civil War