The German invasion and occupation of Norway began on 9 April 1940. Josef Terboven was made Reichskommissar for Norway on 24 April 1940, even before the invasion was completed on 7 June 1940. The legitimate Norwegian government left the country, and German occupying authorities under Terboven put Norwegian civilian authorities under his control. This included various branches of Norwegian police, including the district sheriffs (Lensmannsetaten), criminal police, and order police. Nazi police branches, including the SD and Gestapo, also became part of a network that served as tools for increasingly oppressive policies toward the Norwegian populace.