During the 1930s and 1940s, NKVD groups assassinated defectors and opponents abroad; in August 1940, Trotsky was assassinated in Mexico, eliminating the last of Stalin's opponents among the former Party leadership. In May, this was followed by the arrest of most members of the military Supreme Command and mass arrests throughout the military, often on fabricated charges. These purges replaced most of the party's old guard with younger officials who did not remember a time before Stalin's leadership and who were regarded as more personally loyal to him. Party functionaries readily carried out their commands and sought to ingratiate themselves with Stalin to avoid becoming the victim of the purge. Such functionaries often carried out a greater number of arrests and executions than their quotas set by Stalin's central government.