In 1814, the Kingdom of Norway briefly tried to regain independence. Although legally a separate kingdom, since the 16th century it shared the monarch with Denmark. Norway was a subordinate partner in the combined state, whose government was based in Copenhagen. Due to its alliance with France during the Napoleonic Wars, Denmark was forced to sign the Treaty of Kiel in January 1814 ceding Norway to Sweden.

However, many Norwegians were inspired by nationalism and resented being transferred without their consent to Sweden, their traditional rival. Led by Christian Frederick, who was Denmark's representative in Norway and also the king of Denmark's cousin and heir presumptive, Norway tried to assert its rights as an independent state. In May 1814, a government and constitution were established which named Christian Frederick king of Norway.

The new Norwegian state did not gain support or recognition from any foreign power, and lost a two-week war with Sweden in summer 1814. However, the resulting Convention of Moss preserved many of the independence movement's aspirations: Norway remained mostly autonomous in a personal union with Sweden, and retained its new constitution with slight modifications. Christian Frederick, forced to abdicate as king of Norway, would become king of Denmark as Christian VIII in 1839. Norway would eventually fully break away from Sweden in 1905.

Prior to 1814 – Independence movement An independence movement in Norway existed by the 1790s. It grew during the Napoleonic War. Denmark–Norway fought on the French side in the war through its participation in the Gunboat War. After France began to lose the war and Denmark-Norway's navy was destroyed, its shores were defenseless. The British navy blockaded Norwegian ports from 1808, thus breaking connections with Denmark and leaving Norway to act independently. Norwegians felt more confident when their army repulsed the Swedish attack in 1808–1809. In those conditions an independence movement was established in 1809. In 1812 and 1813 Britain's blockade caused severe famine, and this also made Norwegians more negative to the union with Denmark.

Treaty of Kiel

On 7 January 1814, under the command of the elected crown prince of Sweden, Charles John, Frederick VI of Denmark proposed to cede The Kingdom of Norway to the king of Sweden in order to avoid an occupation of Jutland. He authorized his envoy Edmund Bourke to negotiate a peace treaty with Sweden and Great Britain on these terms, in return for immediate withdrawal of all Coalition troops from Danish territory and certain territorial compensations. In addition, he was to join the allied powers in their fight against Napoleon.Steen, Sverre (1951): 1814. Oslo, J.W. Cappelen. Pp. 49–50 These terms were formalized and signed at the Treaty of Kiel on 14 January, in which Denmark negotiated to maintain sovereignty over the Norwegian possessions of Greenland, the Faroe Islands, and Iceland. Secret correspondence from the British government in the preceding days had put diplomatic pressure on the negotiating parties to reach an agreement in order to avoid a full-scale invasion of Denmark. Bernadotte sent a letter to the governments of Prussia, Austria, and Great Britain thanking them for their support, acknowledging the role of Russia in negotiating the peace, and envisaging greater stability in the Nordic region.

These news did not reach Norway until the end of January, in a letter of 18 January from the Danish king to the Norwegian people, in which he released them from their oath of allegiance to him and his dynasty. By special courier, a secret letter of 17 January from the king was delivered on 24 January to his cousin and viceroy of Norway, Prince Christian Frederick with the most important details of the treaty, which the Prince decided to keep to himself while considering his reaction. The letter instructed him to deliver the Norwegian fortresses to Swedish forces and then return to Denmark.Steen, Sverre (1951): 1814. Oslo, J.W. Cappelen. Pp. 60–61

The public were informed of the peace treaty on 26 January through a censored article in the newspaper Tiden, under the headline. "Peace, Peace in the North!" It did not inform the public of the fact that the king had ceded his kingdom to the king of Sweden, historically the enemy of Norway.Linvald, Axel (1962): Christian Frederik og Norge 1814. PP. 19–20 As there was the annual February market in Christiania at the same time, a local priest observed that the entire marketplace swirled with rumours of the treaty, and with tension. As news spread, it was apparent to many Norwegian intellectuals that the people were offended by the treaty, by being delivered like cattle to a foreign sovereign.Pavels, Claus: Dagbøker 1812–1822. 26–31 January. www.dokpro.uio.no/litteratur/pavels/frames.htm

Attempted reclamation by Christian Frederick The viceroy and heir to the thrones of Denmark and Norway, Prince Christian Frederick, resolved to disobey the instructions from his king and to take the lead in an insurrection to preserve the integrity of the country, and if possible the union with Denmark. The king had been informed of these plans in a secret letter of December 1813. The Prince had also been instructed to keep the union with Denmark intact, but this was not in accord with Norwegian wishes at the time. In Norway, the sentiment was that Norway had been "sold out" to Sweden, their sworn arch-enemy.

Financial problems forced the Prince on 27 January to order banknotes to the amount of 3 million Rigsbankdaler to be issued by "The Provisional Rigsbank of Norway", stamped with the Norwegian coat of arms, to be redeemed by the Rigsbank. These so-called "Prince notes" were necessary to keep the wheels of government turning, but they contributed to the already chaotic monetary situation and the galloping inflation. The cause of the financial crisis was the refusal of King Frederick VI to establish a Bank of Norway.Norway Paper Money Prinsesedler Ca. 1815 Issues http://numismondo.net/pm/nor/index03A.htm

Christian Frederick claimed the throne of Norway and to set up an independent government with himself at the head. The week prior to 30 January, the prince toured parts of Norway and found the same real or false willingness to fight everywhere he came. On 30 January he consulted several prominent Norwegian advisors. His position stated that King Frederick had no legal right to relinquish his inheritance, asserting that he was the rightful king of Norway and that Norway had a right to self-determination. His impromptu council agreed with him, setting the stage for an independence movement. After this day, the tour continued, all the way to Trondheim and back.

On 2 February the Norwegian public learned that their country was ceded to the king of Sweden.

On 8 February Bernadotte responded by threatening to send an army to occupy Norway, promising a constitutional convention, and threatening a continued grain embargo against Norway if Sweden's claims under the treaty of Kiel were not met. But for the time being, he was occupied with the concluding battles on the Continent, giving the Norwegians time to develop their plans.

The independence movement solidifies and is threatened by war

On 10 February Christian Frederick invited prominent Norwegians to a meeting to be held at his friend Carsten Anker's estate in Eidsvoll to discuss the situation. He informed them of his intent to resist Swedish hegemony and claim the Norwegian crown as his inheritance. But at the emotional session in Eidsvoll on 16 February, his advisors convinced him that Norway's claim to independence should rather be based on the principle of self-determination and that he should act as a regent for the time being. The council also advised the regent to hold elections and oaths of independence all over the country, thus choosing delegates to a constitutional assembly.

Arriving in Christiania (Oslo) on 19 February, Christian Frederick proclaimed himself regent of Norway. All congregations met on 25 February to swear loyalty to the cause of Norwegian independence and to elect delegates to a constitutional assembly to commence at Eidsvoll on 10 April.

On 20 February the Swedish government sent a mission to Christian Frederick, warning him that Norway's independence movement was a violation of the treaty of Kiel and put Norway at war with the victorious parties in the Napoleonic War. The consequences would be famine and bankruptcy. Christian Frederick sent letters through his personal network to governments throughout Europe, assuring them that he was not leading a Danish conspiracy to reverse the terms of the treaty of Kiel, but rather his efforts reflected the Norwegian will for self-determination. He also sought a secret accommodation with Napoleon I.

The mission from the Swedish government arrived in Christiania on 24 February and met with Christian Frederick. Christian Frederick refused to accept a proclamation from the Swedish king but insisted instead on reading his letter to the Norwegian people, proclaiming himself regent. The Swedish delegation characterized his decisions as reckless and illegal, asking for leave to return to Sweden. The day after, church bells in Christiania rang for a full hour, and the city's citizens convened to swear fealty to Christian Frederick. On 26 February he initiated a long correspondence with the Swedish government. The next day he introduced a new flag for independent Norway — the former Dano-Norwegian Dannebrog with the Norwegian Lion in the canton.

25 February is remembered in some sources as "people´s day" because of the elections and the oath. That day showed forth a de facto declaration of independence for Norway. All sources remembering that day agrees on the sacred tone of the day when all people assembled in their churches for a common cause. Bells rang from 10 am, chiming for a full hour. 4,000 people assembled in the central church of Christiania. At 11 am the regent arrived, and a service was held. Then the bishop intoned the oath: "Do you swear to claim the independence of Norway, and to dare life and blood for the beloved fatherland?" Both the regent and the congregation answered accordingly. This oath was taken in maybe 75 churches that day, and again over the country the next Sunday, and further until the oath was taken in all the congregations of Norway.

Carsten Anker was sent to London to negotiate recognition by the British government. Swedish authorities were canvassing border areas with pamphlets subverting the independence movement. By early March, Christian Frederick had also organized a cabinet and five government departments, though he retained all decision-making authority himself.

Christian Frederick meets increasing opposition from within and abroad The Count of Wedel-Jarlsberg, the most prominent member of the Norwegian nobility, arrived in Norway on 3 March and confronted the regent, accusing him of playing a dangerous game. Christian Frederick responded by accusing Wedel-Jarlsberg of colluding with the Swedes. Returns from elections for delegates to the constitutional assembly also showed there were widespread misgivings about the independence movement. By the end of March, the opinion was openly expressed that Christian Frederick's ambition was to bring Norway back under Danish sovereignty.