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
Geography of Russia , the Russian border is the world's longest. Along the 20,139-kilometer land frontier, Russia has boundaries with 14 countries: Norway, Finland, Estonia, Latvia, Lithuania, Poland (via the Kaliningrad Oblast), Belarus, Ukraine, Georgia, Azerbaijan, Kazakhstan, Mongolia, the People's Republic of China and North Korea. Approximately two-thirds of the frontier is bounded by seawater. Virtually all of the lengthy northern coast is well above the Arctic Circle; except for the port of Murmansk—which receives currents that are somewhat warmer than would be expected at that latitude, due to the effects of the Gulf Stream—that coast is locked in ice much of the