On June 17 the Red Army occupied the country. Rigged elections for a "People's Saeima" were held, and a puppet government headed by Augusts Kirhenšteins led Latvia into the USSR. The annexation was formalized on August 5, 1940. The ensuing months would become known in Latvia as "Baigais Gads", the Year of Horror. Mass arrests, disappearances, and deportations culminated on the night of June 14, 1941. Prior to the German invasion, in less than a year, at least 27,586 persons were arrested; most were deported, and about 945 persons were shot.