In January 1944, Soviet troops had reached the former Polish–Soviet border, and by the end of July 1944 they again re-annexed the whole territory that had been taken by the USSR in September 1939 into their control.