The Einsatzgruppen were formed under the direction of Heydrich and operated by the SS before and during World War II. The Einsatzgruppen had its origins in the ad hoc Einsatzkommando formed by Heydrich to secure Government buildings and documents following the Anschluss in Austria in March 1938