Context : The Gewehr 98 replaced the earlier Gewehr 1888 rifle as the German service rifle, first saw combat in the Boxer Rebellion, and was the main German infantry rifle of World War I. The Gewehr 98 saw further military use by the Ottoman Empire and Francoist Spain. 
Question : In which war did Gewehr 98 fought?
Boxer Rebellion