Germany–Poland border former also affected by the Silesian Uprisings). The shape of that border roughly resembled that of pre-partition Poland. After World War II, the border was drawn from Świnoujście (Swinemünde) in the north at the Baltic Sea southward to the Czech Republic (then part of Czechoslovakia) border with Poland and Germany near Zittau. It follows the Oder–Neisse Line of the Oder (Odra) and Neisse (Nysa) rivers through most of their course. This was agreed upon by the main Allies of World War II – USSR, USA and UK, at the Soviets' insistence, and, without any significant consultations with Poland (or Germany),
Poland–Russia border Soviet Union (USSR), shaped during the Polish-Soviet War, and confirmed at the Treaty of Riga at the line Dzisna-Dokshytsy-Słucz-Korets-Ostroh-Zbrucz. That border was long. Following World War II, the new border (see territorial changes of Poland immediately after World War II) was drawn between the People's Republic of Poland and the USSR. The new Polish-Soviet border was long at first, and subject to a minor modification in the 1951 Polish–Soviet territorial exchange, which reduced the border length to . The modern border between Poland and Russia is regulated by a number of legal documents, many of them dating to the times