Task: Question Generation
Input (English): Context : Sir Charles Preston, 5th Baronet (c. 1735 - 23 March 1800) was a British Major who was stationed in Canada during the American Revolutionary War. 
Answer : American Revolutionary War
Output (English): Which war did Charles Preston participate in?