Most Polish inhabitants of Kresy were ordered by the Soviets to migrate west to Germany's former eastern provinces, newly emptied of their German population and renamed as the "Recovered Territories" of the People's Republic of Poland, based on Polish medieval settlement of the areas. Poles from the southern Kresy (now Ukraine) were forced to settle mainly in Silesia, while those from the north (Belarus and Lithuania) moved to Pomerania and Masuria. Polish residents of Lwów settled not only in Wrocław, but also in Gliwice and in Bytom.