The Soviet Invasion of Poland of 1939 eventually pushed the Germans out of Poland. The Soviet army of the 1st Ukrainian Front arrived in nearby Kańczuga July 27, 1944. The Soviets signed a Polish–Soviet border agreement.in August 1945, internationally recognizing the Polish Provisional Government of National Unity on 16 August 1945.