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
Which war did William E. Hart participate in?