Question: Who was the father of the man the Norwegian Storting elected king of Norway on 4 November 1814?

full_context: Document 1: Charles XIII of Sweden: Charles XIII & II also Carl, Swedish: "Karl XIII" (7 October 1748 – 5 February 1818), was King of Sweden (as "Charles XIII") from 1809 and King of Norway (as "Charles II") from 1814 until his death. He was the second son of King Adolf Frederick of Sweden and Louisa Ulrika of Prussia, sister of Frederick II of Prussia.
Document 2: King Gustav III of Sweden and his Brothers: King Gustav III of Sweden and his Brothers is an oil painting by the Swedish portrait painter Alexander Roslin showing Gustav with his two brothers, Prince Frederick Adolf and Prince Charles, later Charles XIII of Sweden. Frederick is standing, Gustav is sitting to the left, and Charles is to the right. The painting is in the collection of the Swedish National Museum.
Document 3: Civil war era in Norway: The civil war era in Norway (Norwegian: "borgerkrigstiden") is the history of Norway between 1130 and 1240. During this time a series of civil wars were fought between rival kings and pretenders to the throne. The reasons for the war was the weak succession of King Sigurd the Crusader, leaving the country between his bastard son Magnus and his alleged (but uncertain) brother, Harald Gillekrist, who were on bad terms long before King Sigurd died. The goal of the warring parties was always to put their man on the throne, starting with the death of King Sigurd the Crusader in 1130, a supposedly adored monarch. In the first decades of the civil wars, alliances shifted and centered on the person of a king or pretender, but eventually, towards the end of the 12th century, two rival parties emerged, known as the Birkebeiner and the Bagler. After these two parties were reconciled in 1217, a more ordered system of government centered on the king was gradually able to bring an end to the frequent risings. The failed rising of duke Skule Bårdsson in 1240 was the final event of the civil war era.
Document 4: Hedvig Elisabeth Charlotte of Holstein-Gottorp: Hedwig Elisabeth Charlotte of Holstein-Gottorp (Swedish: "Hedvig Elisabeth Charlotta" ; 22 March 1759 – 20 June 1818) was Queen of Sweden and Norway as the wife of King Charles XIII and II. She was also a famed diarist, memoirist and wit. She is generally known in Sweden by her full pen name in Swedish (above), though her official name as queen was Charlotte.
Document 5: Riksakten: The Riksakten was the 1815 Act of Union that regulated the terms of the constitutional personal union between Sweden and Norway established in 1814. The fundamental documents of the union were only the Convention of Moss and the revised Norwegian constitution of 4 November 1814. The Norwegian constitution had been adapted to the union before it was entered into, but the Swedish one was never adjusted correspondingly. The conservative Swedish Riksdag had not allowed the Swedish constitution of 1809 to be revised. Therefore, a bilateral treaty had to be negotiated in order to clarify procedures for treating constitutional questions that had to be decided jointly by both governments.
Document 6: Prince Carl Bernadotte: Carl Gustaf Oscar Fredrik Christian, Prince Bernadotte (10 January 1911 – 27 June 2003), originally Prince Carl, Duke of Östergötland, was the youngest child and only son of Prince Carl of Sweden and Princess Ingeborg of Denmark and eventually a prince of the Belgian nobility. To distinguish himself from his father, he was widely known as "Carl Junior." He was the brother of Princess Margaretha of Sweden, Queen Astrid of Belgium and Crown Princess Märtha of Norway.
Document 7: Gustav IV Adolf of Sweden: Gustav IV Adolf or "Gustav IV Adolph" (1 November 1778 – 7 February 1837) was King of Sweden from 1792 until his abdication in 1809. He was the son of Gustav III of Sweden and his queen consort Sophia Magdalena, eldest daughter of Frederick V of Denmark and his first wife Louise of Great Britain. He was the last Swedish ruler of Finland, the occupation of which by Russian Emperor Alexander I in 1808-09 was the immediate cause of his violent downfall. After an army revolt, the king was seized by officers and forced to relinquish the throne on behalf of his family on March 29, the anniversary of his father's death (due to gunshot wound, in 1792). The Instrument of Government subsequently written was adopted on June 6, the current National Day of Sweden, and was in effect until replaced in 1974. The crown (now with strictly limited powers) passed to his childless uncle, Charles XIII, whose want of heirs set into motion an intense quest for a successor who was found the following year in the person of Jean-Baptiste Bernadotte, who assumed the throne in 1818, commencing the present House of Bernadotte.
Document 8: Order of Charles XIII: The Royal Order of Charles XIII (Swedish: "Kungliga Carl XIII:s orden" ) is a Swedish order of merit, founded by King Charles XIII in 1811.
Document 9: Bodø affair: The Bodø affair was a diplomatic scandal involving Sweden-Norway (then a dual monarchy) and the United Kingdom, which lasted from 1818 to 1821. The affair arose over the illegal trading activities of an English company in the Norwegian port of Bodø, where Norwegian officials in 1818 seized a large cargo belonging to the company and arrested one of its owners, who later escaped. The Stockholm foreign ministry, which handled the foreign affairs of Norway at that time, seemed unreasonably favorable to British claims over the Bodø incident, thereby angering Norwegians and arousing their nationalism. In 1821 compensation was paid to the British company over Norwegian objections. While of minor importance in itself, the incident led to a lasting distrust among Norwegians of the Swedish foreign ministry.
Document 10: House of Bernadotte: The House of Bernadotte ( ; ] ), the current royal house of Sweden, has reigned since 1818. Between 1818 and 1905, it was also the royal house of Norway. Its founder, Charles XIV John of Sweden (who was born Jean Bernadotte), was adopted by Charles XIII of Sweden, whose House of Holstein-Gottorp was becoming extinct.
Document 11: Oslo: Oslo ( , , ] ] ] ) is the capital and the most populous city in Norway. It constitutes both a county and a municipality. Founded in the year 1040, and established as a "kaupstad" or trading place in 1048 by Harald Hardrada, the city was elevated to a bishopric in 1070 and a capital under Haakon V of Norway around 1300. Personal unions with Denmark from 1397 to 1523 and again from 1536 to 1814 and with Sweden from 1814 to 1905 reduced its influence. After being destroyed by a fire in 1624, during the reign of King Christian IV, the city was moved closer to Akershus Fortress and renamed Christiania in the king's honour. It was established as a municipality ("formannskapsdistrikt") on 1 January 1838. Following a spelling reform, it was known as Kristiania from 1877 until 1925, in which year its original Norwegian name of Oslo was restored.
Document 12: Sweden in Union with Norway: The Union between Sweden and Norway is an overriding theme of the history of Sweden in the 19th century. On 4 November 1814, the kingdoms of Sweden and Norway formed a personal union under one king. The two countries had completely separate institutions, except for the foreign service led by the king through the Swedish foreign minister.
Document 13: Norwegian Code: The Norwegian Code (Norwegian: "Norske Lov" , abbreviated NL) is the oldest part of the Norwegian law still in force, partially in force in Norway, Iceland, and the Faroe Islands. It was given by Christian V of (Denmark and) Norway on 15 April 1687 and entered into force on 29 September 1688, as the legal code for the Kingdom of Norway including its dependencies (the Faroe Islands, Iceland, and Greenland). Norway was a nominally sovereign kingdom, but politically (although not economically) the weaker part in a personal union with Denmark at the time. The Norwegian Code was largely based on the Danish Code ("Danske Lov", DL), promulgated in 1683 and itself mostly based on older Danish laws, but the Norwegian Code had some differences from the Danish Code in some areas, such as inheritance law, agricultural law, law relating to hunting, fisheries and trade, and military issues. In the 19th and 20th centuries, most of the provisions were gradually repealed as they were replaced by modern laws. The code as such remains in force, and it was last amended on 1 January 1993. As late as the postwar era, the Supreme Courts of Denmark and Norway interpreted identical provisions from the Danish and Norwegian Code respectively; they came to the opposite conclusions regarding the meaning of identical provisions NL 6-10-2 (in force in Norway until 1985) and DL 6-10-2 (still in force in Denmark). The provision is ambiguously worded and regulates compensation for damage caused by livestock and dogs. The Supreme Court of Norway ruled on the meaning of this provision in 1954.
Document 14: Convention of Moss: The Convention of Moss was a cease fire agreement, signed on 14 August 1814 between the Swedish King and the Norwegian government. It followed the Swedish-Norwegian War due to Norway's claim to sovereignty. It also became the "de facto" peace agreement and formed the basis for the personal union between Sweden and Norway that was established when the Norwegian Storting (Parliament) elected Charles XIII of Sweden as king of Norway on 4 November 1814. The Union lasted until Norway declared its dissolution in 1905.
Document 15: Swedish neutrality: Swedish neutrality refers to Sweden's former policy of neutrality in armed conflicts, which was in effect from the early 19th century, until 2009, when Sweden entered into various mutual defence treaties with the EU, and other Nordic countries. In 2016 Sweden became a "NATO Affiliate" (not member), and signed a treaty allowing NATO operations to take place within the country's borders. Sweden's previous neutrality policy had originated largely as a result of Sweden's involvement in the Napoleonic Wars during which over a third of the country's territory was lost, including the traumatic loss of Finland to Russia. Resentment towards the old king precipitated a "coup d'état" and the new regime formulated a new foreign policy which became known as "The Policy of 1812". Since the time of the Napoleonic Wars, Sweden has not initiated any direct armed combat. However, Sweden's military and government have been involved in major peacekeeping actions and other military support functions around the world. The accession to the European Union in 1995 meant that neutrality as a principle was abolished. Sweden is still today a neutral and non-aligned country in regard to foreign and security policy. However, it maintains strong links to NATO.
ground_truth: King Adolf Frederick