The history of Poland from 1945 to 1989 spans the period of Marxist–Leninist regime in Poland after the end of World War II. These years, while featuring general industrialization, urbanization and many improvements in the standard of living, were marred by early Stalinist repressions, social unrest, political strife and severe economic difficulties.Near the end of World War II, the advancing Soviet Red Army, along with the Polish Armed Forces in the East, pushed out the Nazi German forces from occupied Poland. In February 1945, the Yalta Conference sanctioned the formation of a provisional government of Poland from a compromise coalition, until postwar elections. Joseph Stalin, the leader of the Soviet Union, manipulated the implementation of that ruling. A practically communist-controlled Provisional Government of National Unity was formed in Warsaw by ignoring the Polish government-in-exile based in London since 1940.
During the subsequent Potsdam Conference in July–August 1945, the three major Allies ratified a massive westerly shift of Poland's borders and approved its new territory between the Oder–Neisse line and the Curzon Line. The area of Poland was reduced in comparison to its pre-World War II extent and geographically resembled that of the medieval early Piast dynasty era. Following the destruction of the Polish-Jewish population in the Holocaust, the flight and expulsion of Germans in the west, resettlement of Ukrainians in the east, and the expulsion and resettlement of Poles from the Eastern Borderlands (Kresy), Poland became for the first time in its history an ethnically homogeneous nation-state without prominent minorities. The new government solidified its political power, while the Polish United Workers' Party (PZPR) under Bolesław Bierut gained firm control over the country, which would remain an independent state within the Soviet sphere of influence. The July Constitution was promulgated on 22 July 1952 and the country officially became the Polish People's Republic (PRL).