Sparks served in the First World War, during which he was promoted to the rank of captain in December 1914. He was made a CBE in the 1919 New Year Honours for services rendered during the war and was mentioned in dispatches in April 1919. He was invalidated from active service due to esophageal cancer, succumbing to the disease in March 1920. He is buried in Brompton Cemetery, London.
