During World War II, the Nazi German Einsatzkommandos were a sub-group of the Einsatzgruppen (mobile killing squads) – up to 3,000 men total – usually composed of 500–1,000 functionaries of the SS and Gestapo, whose mission was to exterminate Jews, Polish intellectuals, Romani, and communists in the captured territories often far behind the advancing German front. Einsatzkommandos, along with Sonderkommandos, were responsible for the systematic murder of Jews during the aftermath of Operation Barbarossa, the invasion of the Soviet Union. After the war, several commanders were tried in the Einsatzgruppen trial, convicted, and executed.
Einsatzgruppen (special-ops units) were paramilitary groups originally formed in 1938 under the direction of Reinhard Heydrich – Chief of the SD, and Sicherheitspolizei (Security Police; SiPo). They were operated by the Schutzstaffel (SS). The first Einsatzgruppen of World War II were formed in the course of the 1939 invasion of Poland. Then following a Hitler-Himmler directive, the Einsatzgruppen were re-formed in anticipation of the 1941 invasion of the Soviet Union. The Einsatzgruppen were once again under the control of Reinhard Heydrich as Chief of the Reich Security Main Office (RSHA); and after his assassination, under the control of his successor, Ernst Kaltenbrunner.
Hitler ordered the SD and the Security Police to suppress the threat of native resistance behind the Wehrmacht's fighting front. Heydrich met with General Eduard Wagner representing Wilhelm Keitel, who agreed to the activation, commitment, command, and jurisdiction of Security Police and SD units in the Wehrmachts table of operations and equipment (TOE); in the rear operational areas, the Einsatzgruppen were to function in administrative sub-ordination to the field armies in order to effect the tasks assigned them by Heydrich. Their principal task (during the war), according to SS General Erich von dem Bach, at the Nuremberg Trials: "was the annihilation of the Jews, Gypsies, and Soviet political commissars".