In June 1917, he was transferred to the General staff in the XVth Royal Bavarian Reserve Corps and an infantry division. Leeb participated in battles around Lorraine, Northern France, Galicia, the Carpathian Mountains, Flanders and the German withdrawal from Northern France. Leeb's older brother, Wilhelm Ritter von Leeb, had the knightly rank of "Ritter" and the nobiliary particle of "von", not by birth, but thanks to the conferment of the Bavarian Military Order of Max Joseph and a patent of nobility.