In the summer of 1944, after eight months of enforced retirement, Heinrici was sent to Hungary and placed in command of the German First Panzer Army and the Hungarian First Army which was attached to it.