Most are aware that the Kingdom of Norway has an ancient history, however it was not until 1807 that Norwegian nationalism triumphed to the extent of gaining their own government separate from Denmark with whom they were then united. However, after Denmark supported Napoleon the Allied powers took Norway from Denmark and passed the country to Sweden (which had lost Finland to Russia) in the Treaty of Kiel of January 14, 1814. HM King Frederick VI of Denmark agreed to these changes in order to join the Allied coalition but he neglected to consult the government in Norway itself. The Norwegians rebelled and on May 17, 1814 declared their own constitution.
The Danish Royal Family, however, had not completely forgotten about Norway and Prince Christian Frederick had been sent as Governor of Norway to strengthen ties between the Norwegian people and the Danish monarchy prior to the country being ceded over to Sweden. To be fair, some Norwegians were favorable toward the Swedish union but Prince Christian Frederick put himself at the head of those pushing for complete independence, from Denmark and Sweden, for the Kingdom of Norway. So, it seemed only natural that when the Norwegian assembly signed their constitution they elected Prince Christian Frederick to be the King of Norway. The Allies immediately demanded that the new King of Norway abide by the treaties they had signed and submit to the union with Sweden. However, King Christian Frederick stated that, as a constitutional monarch, he could not take such action on his own authority without the approval of the Norwegian government.
Naturally, the newly established Bernadotte Crown Prince of Sweden was none too pleased with these developments and promptly launched an invasion of Norway, resulting in a little war lasting about two weeks. Christian Frederick demanded that Sweden withdraw their soldiers before he would assemble the Norwegian government to discuss and vote on the possibility of political union. However, the Swedish army defeated the Norwegians who were also hampered by internal divisions with some members of the nobility opposing Christian Frederick. No countries ever recognized the independence of the Kingdom of Norway though most were also not too keen on a total war between Sweden and Norway. However, the clashes that had occurred did not give much confidence that Norway could have survived such a conflict in any event and so another convention was called.
The short-reigning King Christian Frederick of Norway abdicated his throne to the national government which agreed to a new treaty and union with Sweden. Prince Christian Frederick returned home to Denmark where he was treated with suspicion by many for his perceived liberalism. Nonetheless, although his effort to become King of Norway failed, lest anyone feel too sorry for him, he did succeed to the throne as King of Denmark in 1839 as King Christian VIII, reigning until his death in 1848.