Generate a correct and concise answer for the question based on the words in the context.

Context : Sergeant-Observer William James Middleton DFM was a British World War I flying ace credited with six aerial victories.
Question : What war was William James Middleton in?
World War I