Question: Niels Andreas Vibe (12 July 1759 – 9 September 1814) was a Norwegian military officer and civil and royal servant, he was a chamberlain to King Christian Frederick of Norway from 1814, Christian VIII, was the King of Denmark from 1839 to 1848 and, as Christian Frederick, King of Norway in what year?

full_context: Document 1: Niels Andreas Vibe: Niels Andreas Vibe (12 July 1759 – 9 September 1814) was a Norwegian military officer and civil and royal servant. He served as County Governor of "Nordre Bergenhus Amt" from 1802 to 1811, as General War Commissioner of Norway from 1811 to 1814, and as chamberlain to King Christian Frederick of Norway from 1814.
Document 2: Christian I of Denmark: Christian I (February 1426 – 21 May 1481) was a Scandinavian monarch under the Kalmar Union. He was King of Denmark (1448–1481), Norway (1450–1481) and Sweden (1457–1464). From 1460 to 1481, he was also Duke of Schleswig (within Denmark) and Count (after 1474, Duke) of Holstein (within the Holy Roman Empire). He was the first Danish monarch of the House of Oldenburg.
Document 3: Frederick VI of Denmark: Frederick VI (Danish and Norwegian: "Frederik"; 28 January 17683 December 1839) was King of Denmark from 13 March 1808 to 3 December 1839 and King of Norway from 13 March 1808 to 7 February 1814. From 1784 until his accession, he served as regent during his father's mental illness and was referred to as the "Crown Prince Regent" ("kronprinsregent"). For his motto he chose "God and the just cause" (Danish: "Gud og den retfærdige sag" ) and since the time of his reign, succeeding Danish monarchs have also chosen mottos in the Danish language rather than the formerly customary Latin.
Document 4: Christen Nielsen Holberg: Christen Nielsen Holberg (aka. Christian Holberg) was an officer in the Norwegian Army. He was also the father of Ludvig Holberg. In 1653 he was hired as a lieutenant to serve with Bergenhusiske Regiment both in Bergenhus len and on Bergenhus Fortress In 1659 he was appointed commander of Sundfjordske Kompani of Bergenhusiske Regiment with the rank of captain. During the Bjelke War he and his company participated in the defence of Halden against the Swedes. On August 2, 1665 he participated in the Battle of Vågen as a Major. In 1672 he was a lieutenant colonel in the Sundfjordske Kompani. In 1675 he was a member of the regimental staff and the commander of Sognske Kompani. During the Gyldenløve War he was given the responsibility of raising two new companies for the regiment before joining it in Sweden in 1676 where he participated in the siege of Bohus Fortress. Upon returning to Norway later that year he was sent back to Bergen to be temporary commander of Bergenhus Fortress in the place of Johan Caspar von Cicignon. In 1679 he left the service of Bergenhusiske Regiment.
Document 5: Niels Andreas Thrap: Niels Andreas Thrap (2 October 1793 – 9 November 1856) was Norwegian civil servant and politician. He was temporary Minister of Finance in 1852 and 1854, and temporary Minister of the Navy 1852-53.
Document 6: Vibebukta: Vibebukta is a bay at the shore of Nordaustlandet, Svalbard. The bay is named after hydrographer Andreas Vibe. It lies between Gustav Adolf Land and the glacier Bråsvellbreen. The twenty nautical miles wide glacier front of Bråsvellbreen, between Vibebukta and Kervelbukta, exhibited a huge surge in the 1930s.
Document 7: Frederick I of Denmark: Frederick I (7 October 1471 – 10 April 1533) was the King of Denmark and Norway. His name is also spelled "Friedrich" in German, "Frederik" in Danish and Norwegian and "Fredrik" in Swedish. He was the penultimate Roman Catholic monarch to reign over Denmark, when subsequent monarchs embraced Lutheranism after the Protestant Reformation. As King of Norway, Frederick is most remarkable in never having visited the country and was never being crowned King of Norway. Therefore he was styled "King of Denmark, the Vends and the Goths, elected King of Norway".
Document 8: Gregers Krabbe: Gregers Krabbe (12 January 1594 – 20 December 1655) was a Danish-born nobleman and landowner. He was born in Jutland, a son of Niels Krabbe and Vibeke Ulfstand. He was a brother-in-law of Niels Trolle and Niels Krabbe. He served as Governor-general of Norway from 1651, and died at the Akershus Castle in Christiania in 1655.
Document 9: Caroline Amalie of Augustenburg: Caroline Amalie of Schleswig-Holstein-Sonderburg-Augustenburg (28 June 1796 – 9 March 1881) was queen consort of Denmark as the second spouse of King Christian VIII between 1839 and 1848.
Document 10: Christian VIII of Denmark: Christian VIII (18 September 1786 – 20 January 1848) was the King of Denmark from 1839 to 1848 and, as Christian Frederick, King of Norway in 1814.
Document 11: Andreas Aubert (art historian): Fredrik Ludvig Andreas Vibe Aubert (28 January 1851 – 10 May 1913) was a Norwegian art historian.
Document 12: Prince Harald of Denmark: Prince Harald of Denmark ("Harald Christian Frederik"; 8 October 1876 - 30 March 1949) was a member of the Danish Royal Family. He was the third son of Frederick VIII of Denmark and his wife, Lovisa of Sweden, and thus brother to Christian X of Denmark.
Document 13: Frederick I of Denmark: Frederick I (7 October 1471 – 10 April 1533) was the King of Denmark and Norway. His name is also spelled "Friedrich" in German, "Frederik" in Danish and Norwegian and "Fredrik" in Swedish. He was the penultimate Roman Catholic monarch to reign over Denmark, when subsequent monarchs embraced Lutheranism after the Protestant Reformation. As King of Norway, Frederick is most remarkable in never having visited the country and was never being crowned King of Norway. Therefore he was styled "King of Denmark, the Vends and the Goths, elected King of Norway".
Document 14: Vigra: Vigra is a former municipality in Møre og Romsdal county on the west coast of Norway. It is located in the present-day Giske Municipality. The former municipality was made up of the island of Vigra along with many smaller islets surrounding it. The municipality existed from 1890 until 1964 when it was merged into Giske Municipality. The administrative centre of the municipality was the village of Roald, and Vigra Church was the main church for the municipality.
Document 15: Christopher of Bavaria: Christopher of Bavaria (26 February 1416 – 5/6 January 1448) was King of Denmark (1440–48, as Christopher III), Sweden (1441–48) and Norway (1442–48) during the era of the Kalmar Union.
ground_truth: 1814