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
Latvia–Russia relations not in force. This list is limited to agreements in force. Latvia–Russia relations Latvia–Russia relations (, ) is the bilateral foreign relations between Latvia and Russia. Latvia has an embassy in Moscow and two consulates general: in Pskov and Saint Petersburg. Russia has an embassy in Riga and two consulates general: in Daugavpils and Liepāja. Both Russia and Latvia are members of UN, OSCE and Council of Europe. They have recognized each other since 1991. From 1920 to 1940, relations between the countries had existed. On August 11 1920, the Republic of Latvia and the Russian Soviet Federal Socialist Republic