After the occupation of Latvia in June 1940 the annihilation of the Latvian army began. The army was renamed People’s Army, and in September–November 1940, the Red Army’s 24th Territorial Rifle Corps. In September the corps contained 24,416 men but in autumn more than 800 officers and about 10,000 instructors and soldiers were discharged. The arresting of soldiers continued in the following months. In June 1940, the entire Territorial Corps was sent to Litene camp. Before leaving the camp, Latvians drafted in 1939 were demobilised, and replaced by about 4,000 Russian soldiers from area around Moscow. On June 10, the corps senior officers were sent to Russia where they were arrested and most of them shot. On June 14 at least 430 officers were arrested and sent to Gulag camps. After the German attack on the Soviet Union, from June 29 to July 1 more than 2,080 Latvian soldiers were demobilised, fearing that they might turn their weapons against the Russian commissars and officers. Simultaneously, many soldiers and officers deserted and when the corps crossed the Latvian border only about 3,000 Latvian soldiers remained.