In July he became commander of Army Group North, which was later renamed Army Group Courland, where he stayed until January 1945 when he was made commander of Army Group Centre, defending Czechoslovakia and the upper reaches of the River Oder.