The Provisional Government of the Republic of Poland did not recognize the Polish government-in-exile and proclaimed itself to be the legitimate government of Poland. Initially, the RTRP was only officially recognized by the Soviet Union. But before the Yalta Conference, Joseph Stalin conveyed his intention to the Western Allies that Poland was under the control of the Soviet Union and that he intended for it to stay that way. The RTRP was given control of the Polish territories seized by the Red Army as it advanced westward.