The loss of its only access to the Baltic Sea was a major blow to the Lithuanian economy. Between 70% and 80% of foreign trade passed through Klaipėda. The region, which represented only about 5% of Lithuania's territory, contained a third of its industry. Lithuania also lost its heavy investments in the port's infrastructure. About 10,000 refugees, mostly Jews, left the region and sought shelter and support from the Lithuanian government. Lithuanians doubted the fate of their country: in March–April withdrawals of deposits in banks and credit institutions totaled almost 20% of total deposits. After the loss of Klaipėda, Lithuania drifted into the German sphere of influence, especially in terms of trade. At the end of 1939, Germany accounted for 75% of Lithuanian exports and for 86% of its imports. Germany and the Soviet Union concluded the Molotov–Ribbentrop Pact in 1939, dividing Eastern Europe into their respective spheres of influence. Lithuania was, at first, assigned to Germany. The Nazis went so far as to suggest a German–Lithuanian military alliance against Poland and promised to return the Vilnius Region, but Lithuania held to its policy of strict neutrality. After the invasion of Poland, the German–Soviet Frontier Treaty assigned Lithuania to the Soviet sphere of influence. A Soviet ultimatum in June 1940 was also accepted and saw the country annexed by the Soviet Union.