After the Soviet ultimatum in June 1940 and subsequent occupation, the Fourth Seimas was dismissed and a puppet People's Seimas was elected in a heavily rigged elections, in order to give legal sanction to the occupation and annexation of Lithuania by the Soviet Union.