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- 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 1941, the entire Territorial Corps was sent to Litene camp. Before leaving the camp, Latvians drafted in 1939 were demobilised, and replaced by about 4000 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 German attack to Soviet Union, from June 29 to July 1 more 2080 Latvian soldiers were demobilsed, 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 3000 Latvian soldiers remained.