Starting with the invasion of April 9, 1940, Norway was under military occupation of German forces and civil rule of a German commissioner in collaboration with a pro-German puppet government. The occupation ended May 8, 1945, after the capitulation of German forces in Europe.