Iceland remained under Norwegian kingship until 1380; then Norway became part of the Kalmar Union (a personal union in Scandinavia agreed at Kalmar in Sweden).
Following a period of civil strife, Iceland acceded to Norwegian rule in the 13th century. The establishment of the Kalmar Union in 1397 united the kingdoms of Norway, Denmark, and Sweden. The modern parliament, Alingi (English: Althing), was founded in 1845 as an advisory body to the Danish monarch. This was Gissur orvaldsson, who was made Earl of Iceland by King Haakon IV of Norway for his efforts in bringing Iceland under Norwegian kingship during the Age of the Sturlungs. The king insisted that Snorri help him bring Iceland under the sovereignty of Norway. In the early thirteenth century, the internal conflict known as the age of the Sturlungs weakened Iceland, which eventually became subjugated to Norway through the Old Covenant (12621264), effectively ending the commonwealth. Iceland remained under Norwegian kingship until 1380, when the death of Olaf II of Denmark extinguished the Norwegian male royal line. Norway (and thus Iceland) then became part of the Kalmar Union, along with Sweden and Denmark, with Denmark as the dominant power. The Kalmar Union (Danish, Norwegian, and Swedish: Kalmarunionen; Latin: Unio Calmariensis) was a personal union in Scandinavia, agreed at Kalmar in Sweden, that from 1397 to 1523 joined under a single monarch the three kingdoms of Denmark, Sweden (then including most of present-day Finland), and Norway, together with Norway's overseas dependencies (then including Iceland, Greenland, the Faroe Islands, and the Northern Isles of Orkney and Shetland). 
