In November 1918, while Himmler was still in training, the war ended with Germany's defeat, denying him the opportunity to become an officer or see combat. After his discharge on 18 December, he returned to Landshut. After the war, Himmler completed his grammar-school education.