Question: Juliana Maria of Brunswick-Wolfenbüttel is a descendant of the King of what country, who took over its throne in 1814?

Context articles: Marienlyst Castle
Frederick, Hereditary Prince of Denmark
John Ryder, 5th Earl of Harrowby
Margrethe von der Lühe
Juliana Maria of Brunswick-Wolfenbüttel
Princess Juliane Sophie of Denmark
Charles VI, Holy Roman Emperor
Princess Eleonore of Schaumburg-Lippe
Ole Tidemand
Christian VIII of Denmark

Marienlyst Castle, Danish "Marienlyst Slot", is a palacial residence located in Helsingør, Denmark.
 It was named after King Frederik V of Denmark's second wife, Juliana Maria the queen consort of Denmark and Norway.
 The building formerly served as a royal pavilion of Kronborg Castle and was mostly used as a venue for pleasure and hunting.
 It was also used by the director-general of the Øresund Custom House, Colonel Adam Gottlob von Krogh and his wife Magdalene, between 1796 and 1847.
Frederick, Hereditary Prince of Denmark (Danish: "Frederik" ; 11 October 1753 – 7 December 1805) was heir presumptive to the thrones of Denmark and Norway.
 He was the surviving son of King Frederick V by his second wife, Juliana Maria of Braunschweig-Wolfenbüttel.
John Herbert Dudley Ryder, 5th Earl of Harrowby (22 August 1864 – 30 March 1956), briefly known as Viscount Sandon from March to December 1900, was a British peer and Conservative Member of Parliament.
 Harrowby was the son of Henry Dudley Ryder, 4th Earl of Harrowby, and Susan Juliana Maria Hamilton Dent.
Margrethe von der Lühe (1741–1826) was a Danish courtier; Mistress of the Robes to the Danish queen, Caroline Matilda of Great Britain from 1768 to 1770, and the queen dowager, Juliana Maria of Brunswick-Wolfenbüttel, from 1772 to 1784.
Juliana Maria of Brunswick-Wolfenbüttel-Bevern (Danish: "Juliane Marie"; 4 September 1729 – 10 October 1796) was queen of Denmark between 1752 and 1766, second consort of king Frederick V of Denmark and Norway, mother of the prince-regent Hereditary Prince Frederick of Denmark and Norway and herself de facto regent 1772–1784.
 King Christian VIII of Denmark descends from her.
Juliane Sophie (18 February 1788, in Copenhagen – 9 May 1850, in Copenhagen) was a Princess of Denmark, the daughter of Frederick, Hereditary Prince of Denmark, who himself was a younger son of king Frederick V of Denmark in his second marriage to queen Juliana Maria of Braunschweig-Wolfenbüttel.
Charles VI (1 October 1685 – 20 October 1740; German: "Karl VI." )
 succeeded his elder brother, Joseph I, as Holy Roman Emperor, King of Bohemia (as Charles II), King of Hungary and Croatia, Serbia and Archduke of Austria (as Charles III) in 1711.
 He unsuccessfully claimed the throne of Spain following the death of his relative, Charles II, in 1700.
 He married Elisabeth Christine of Brunswick-Wolfenbüttel, by whom he had his two children: Maria Theresa, the last Habsburg sovereign, and Maria Anna, Governess of the Austrian Netherlands.
Princess Eleonore-Christine of Schaumburg-Lippe (Eleonore-Christine Eugenie Benita Feodora Maria; born 22 December 1978 at Hørsholm, Denmark) is the daughter of Prince Waldemar of Schaumburg-Lippe and his first wife, Anne-Lise Johansen.
 Princess Eleonore-Christine is a great-great-granddaughter of King Frederick VIII of Denmark.
 Under Danish law, she is barred from succession to the Danish throne, as she is not a descendant of Christian X.
 However, through her father, she is a descendant of King George II of Great Britain, and is therefore in line for the British throne.
Ole Tidemand (31 October 1710–09 January 1778) was a Norwegian theologian and priest.
 He served as a Bishop of the Diocese of Bjørgvin from 1757 until 1762 and then Bishop of the Diocese of Christianssand from 1762 until 1778.
 Bishop Tidemand always had powerful friends in Copenhagen, the capital of the Kingdom of Denmark-Norway.
 Most notably, the Dowager Queen Juliana Maria was a supporter of his.
 Tidemand was a student and colleague of Bishop Erik Pontoppidan and a leader in the pietist movement in Norway.
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.