To eliminate "enemies of the working class", Stalin instituted the "Great Purge". Over a million people were imprisoned and at least 700,000 executed between 1934 and 1939. Those executed included most of the generals in the Red Army, whom Stalin saw as a threat to his rule. This greatly weakened the army in the early months of the Wehrmacht's offensive against the Soviet Union in 1941.