The Einsatzgruppen had its origins in the ad hoc Einsatzkommando formed by Heydrich following the Anschluss in Austria in March 1938.[283] Two units of Einsatzgruppen were stationed in the Sudetenland in October 1938. When military action turned out not to be necessary because of the Munich Agreement, the Einsatzgruppen were assigned to confiscate government papers and police documents.