independence During the Napoleonic Wars the King aligned Denmark–Norway with France. When Napoleon lost the war Denmark was forced to cede Norway to the king of Sweden under the Treaty of Kiel in 1814. It was initially proposed that the Norwegian dependencies of Greenland, Iceland and the Faroes would remain with Norway, but that point was dropped during the negotiations so they became Danish. On hearing news of the treaty, Prince Christian Frederick of Denmark and Norway, the resident viceroy in Norway, participated in founding a Norwegian independence movement. The independence movement was successful, partly due to clandestine support from the Danish Crown, but also because of the strong desire for independence in Norway. On 10 April, a national assembly met at Eidsvoll to decide on a constitution. Norway eventually declared independence on 17 May 1814, electing Christian Frederik as King. A short war with Sweden later that year ended with the Convention of Moss. This led to the ousting of Christian Frederick, and the Norwegian Storting electing Charles XIII of Sweden as King of Norway, creating the union between Sweden and Norway. In turn the king recognised the Norwegian constitution which was only changed to facilitate the union. The end result was that the Norwegian monarchy became a constitutional monarchy. In this new union the King was much more a King of Norway than under the previous Danish system. Norway was not to be treated as a Swedish conquest but rather as an equal party in a union of two independent states. Both the principle and substance of the Norwegian Constitution were accepted, and Norway retained its own parliament and separate institutions, except for the common king and foreign service. The only area of policy not in the hands of the Norwegians was foreign policy. Norway had been brought along into the new developments of the world as they arrived in Denmark. However, with the break the Norwegians were able to forge a more progressive political development than was the case in Denmark. Denmark introduced a constitutional monarchy 35 years after Norway. Parliamentarism was introduced in 1884 in Norway, 17 years before Denmark and 33 years before Sweden. The union with Denmark also had its adverse effects on the monarchy, among other things it resulted in the crown of Norway experiencing a loss of territory which today amounts to 2,322 755 km2. However, Norway's territorial size has been more