Latvia states of Northern and Eastern Europe were divided into German and Soviet "spheres of influence". In the north, Latvia, Finland and Estonia were assigned to the Soviet sphere. A week later, on 1 September 1939, Germany and on 17 September, the Soviet Union invaded Poland. After the conclusion of the Molotov-Ribbentrop Pact, most of the Baltic Germans left Latvia by agreement between Ulmanis' government and Nazi Germany under the Heim ins Reich programme. In total 50,000 Baltic Germans left by the deadline of December 1939, with 1,600 remaining to conclude business and 13,000 choosing to remain in Latvia. Most of
Norway–Russia border of the Norwegian Border Commissioner, while the Russian side is patrolled by the Border Guard Service of Russia. Two-thirds of the border follows two rivers, the Pasvikelva and Jakobselva. The border was defined as a march in a treaty in 1326 and separated which parts of the Sami could be taxed by Norway and Russia. The border line was defined by a treaty in 1826 and essentially remains the same border today. In 1920 Petsamo was ceded to Finland and the border became part of the Finland–Norway border. Petsamo was ceded to the Soviet Union in 1944 and the Norway–Soviet