The Germans agreed to leave the Baltic states, except for Lithuania (which was later ceded in exchange for oil rich regions of Poland), under the Soviet sphere of influence in the 1939 German–Soviet Pact. The Germans lacked concern for the fate of the Baltic states, and they initiated the evacuation of the Baltic Germans. Between October and December 1939 the Germans evacuated 13,700 people from Estonia and 52,583 from Latvia, who were resettled in Polish territories incorporated into Nazi Germany. The following summer, the Soviets occupied and illegally annexed all three states. On 22 June 1941 the Germans carried out Operation Barbarossa. The Soviets had implemented sovietization earlier, including the first mass deportation on 14 June, just eight days earlier, with the result that the majority of Balts welcomed the German armed forces when they crossed the frontiers of Lithuania.