Lithuania had regained its independence in 1918 after the collapse of the Russian Empire. As pre-war tensions rose in Europe, Nazi Germany and the Soviet Union signed the Molotov–Ribbentrop Pact and divided Eastern Europe into spheres of influence. Subsequently, Lithuania was occupied by the Soviet Union in June 1940. The Soviets instituted Sovietization policies and repressions. In June 1941, the Soviets deported over 17,000 Lithuanians to Siberia, with most of the deportees dying during the harsh winters. When a few days later Germany launched an invasion of Russia, Lithuanians organized a popular anti-Soviet uprising. Initially, the Lithuanians greeted the Germans as liberators from the repressive Soviet rule and made plans to reestablish independent Lithuania. However, the attitudes soon changed as the occupation of Lithuania by Nazi Germany continued.