The Norwegian Campaign was a military campaign that was fought in Norway during the Second World War between the Allies and Germany, after the latter's invasion of the country. In April 1940, the United Kingdom and France came to Norway's aid with an expeditionary force. Despite moderate success in the northern parts of Norway, Germany's invasion of France in May 1940 eventually compelled the Allies to withdraw and the Norwegian government to seek exile in London. The campaign subsequently ended with the occupation of Norway by Germany, and the continued fighting of exiled Norwegian forces from abroad. The conflict occurred between 9 April and 10 June 1940, the 62 days of fighting making Norway the nation that withstood a German invasion for the second longest period of time, after the Soviet Union.