becoming the largest Renaissance building in Scandinavia. The main Renaissance building built by Christian IV was thus completed in under ten years, an astonishing accomplishment at the time, although there were additions until the early 1620s. In 1659 during the Second Northern War, the castle was captured by the Swedes who took most of its artworks as war reparations. During the Swedish occupation, the queen of Sweden, Hedvig Eleonora of Holstein-Gottorp, used the palace and hunted in the woods with the English envoy to Sweden. After Christian IV's death in 1648, the castle was used mainly for ceremonial events. The Chapel was the scene of the coronations and anointments of all the Danish monarchs from 1671 to 1840 except for that of Christian VII. 1671: Christian V and Charlotte Amalie of Hesse-Kassel 1700: Frederick IV and Louise of Mecklenburg-Güstrow 1721: Anna Sophia, consort of Frederick IV 1731: Christian VI and Sophia Magdalena of Brandenburg-Kulmbach 1747: Frederick V and Louise of Great Britain 1752: Juliana Maria of Brunswick-Wolfenbüttel, consort of Frederick V 1815: Frederick VI and Marie of Hesse-Kassel 1840: Christian VIII and Caroline Amalie of Schleswig-Holstein In July 1720, the Treaty of Frederiksborg was signed in the castle, ending the Great Northern War between Sweden and Denmark-Norway which had started in 1700. Fire and reconstruction In the 1850s, the castle was again used as a residence by King Frederick VII. While he was staying there on the night of 16 December 1859, he retired to a room on the third floor to examine his historic artefacts. But as it was a cold night, he asked for a fire to be lit in the room. Unfortunately, the chimney was under repair, causing a fire to break out. As the lake was frozen, the only water available came from the pantry and the kitchen. The fire spread quickly, ruining most of the building within a few hours although the Chapel, the Audience Chamber and the Privy Passage were not seriously damaged. The intricate internal decorations were also destroyed but over 300 paintings were saved and are now displayed in the castle's history museum. Reconstruction was funded by public subscription, with substantial contributions from the king and state, as well as from the prominent philanthropist J. C. Jacobsen of the Carlsberg Brewery. Jacobsen's funding provided for the establishment of the Museum of National History in the castle. It was formally established on 5