Q: You will be given a context, a subject and a relation. Your task is to generate a question based on the subject and relation. The generated question should include the given subject. Try to use a minimum number of words that are not present in either context, subject or relation while generating question.
Context : ''The President of the United States of America, in the name of Congress, takes pleasure in presenting the Medal of Honor to Private William E. Hart, United States Army, for extraordinary heroism on 1864 & 1865, while serving with Company B, 8th New York Cavalry, in action at Shenandoah Valley, Virginia, for gallant conduct and services as scout in connection with capture of the guerrilla Harry Gilmore.''
Subject : William E. Hart
Relation : conflict
A:
Which war did William E. Hart participate in?