The effects of the Molotov–Ribbentrop Pact of August 23, 1939 assigned Latvia to the Soviet sphere of influence. On August 5, 1940, the Soviet Union forcibly annexed Latvia. On June 14, 1941, 15,000 Latvian citizens were forcibly deported to Gulag camps and a large number of army officers shot.