 After the Soviet occupation of Latvia in June 1940 and the ousting of the Ulmanis government, the LKP and LDJS were legalised again and could operate openly.It was the only party allowed to contest the Soviet staged 1940 elections, which it did under the name "Working People's Bloc".The party later merged into the Communist Party of the Soviet Union (Bolsheviks).