Magnus Lagabøte (lit. "Law-mender"), king of Norway from 1263 until 1280. Son of Haakon IV of Norway. A man of peace, he brought an end to the Scottish war by ceding (1266) the Hebrides and the Isle of Man to Alexander III of Scotland for a large sum. He immediately undertook a general revision of the laws, introducing (1274) a new code for the kingdom and subsequently new municipal laws. His code introduced the concept that crime is an offense against the state rather than against the individual and thus narrowed the possibilities of personal vengeance. It greatly increased the power of the king, making the throne the source of justice. The municipal law gave the cities increased freedom from rural control. One of his enactments fixed the law of succession to the throne; another, by its creation of a new royal council and of new ranks of nobility, laid the foundation of a new governing class. In 1277, Magnus and the church reached an agreement on the limits of church and state power. He was succeeded by his sons, Eric II (reigned 1280-1299), who was the father of Margaret Maid of Norway, and Haakon V (reigned 1299-1319).
Norway is a constitutional monarchy; executive power, while nominally held by the monarch, is exercised by a council of ministers led by the prime minister.
Olaf II was driven out of Norway by King Canute of England and Denmark, in league with discontented Norwegian nobles; however, his son, Magnus I, was restored (1035) to the Norwegian throne.
Norway was one of the original members of the United Nations (the Norwegian Trygve Lie was the first UN Secretary-General), and it became a member of North Atlantic Treaty Organization (NATO) in 1949.