 After the war, both former states fell under the domination of the Soviet Union.Poland was shifted westwards, thus giving up most of the disputed territories previously containing significant Lithuanian minority in the Second Polish Republic, those territories were incorporated into Lithuanian SSR and Belarus SSR, itself one of the Soviet republics.At the same time many Poles from Kresy were allowed to leave the Soviet Union, and mostly were transferred west to Recovered Territories, and the Polish minority in Lithuania (or Lithuanian SSR) was also significantly downsized.