context: The Battle of Norway, the Battle of Norway or the Occupation of Norway was a conflict in which Germany conquered Norway in April-June 1940. The main objective of the operation was to secure the supply of iron ore from Sweden to the German military industry. The operation proceeded quickly and Norway was greatly surprised. The Allies came to the aid of the Norwegians, and although the attacks in the south of the country remained fruitless, in Northern Norway the Germans suffered their first defeat of the war in the Battle of Narvik. [1] [2] However, the German invasion of France in May 1940 forced the Allies to withdraw from Norway, after which the country had to surrender to the Germans, and its government exiled to London. Norway remained occupied until May 1945, when British troops arrived and German troops surrendered without resistance. [3]
question: In what year did the battle for Norway end?
answers.text: 1940