After the end of World War II, the Soviet Union kept most of the territories it occupied in 1939, while territories with an area of 21,275 square kilometers with 1.5 million inhabitants were returned to communist-controlled Poland, notably the areas near Białystok and Przemyśl.