Прикарпатский военный округ
On April 11, 1945, during a battle, while leading sapper units, Ogarkov was wounded and met the end of the war in the hospital. In July, he returned to his division, but three months later, in connection with its disbandment, Lieutenant Colonel Ogarkov was appointed Assistant Chief of Staff of the Engineering Troops of the 27th Army of the Carpathian Military District. On the same year, he joined the Communist Party of Soviet Union.