Львовско-Сандомирская операция
By early 1944, the 4th Panzer Army had been pushed back to the pre-war 1939 Polish border. The army defended positions in Ukraine west of Kiev until late June 1944, fighting in the southern regions of the Pinsk Marshes, and around Lutsk, Shepetovka, Tarnopol, and Kovel in western Galicia. However, following the transfer of several of its panzer divisions northwards in the aftermath of Army Group Center's collapse in Operation Bagration, 4th Army was progressively outmatched and forced into a fighting withdrawal by the 1st Ukrainian Front during the Lvov–Sandomierz Offensive. The right flank of 4th Army, including XIII Army Corps, was surrounded and destroyed at Brody in late July, 1944.