It was built for the naval officer Niels Juel in the 1680s but his Baroque mansion was later adapted to the Neoclassical style by the French architect Nicolas-Henri Jardin in 1763.
It was the second building which was completed on Kongens Nytorv which had been laid out by Christian V of Denmark in the years following his coronation in 1670 inspired by the royal squares of Paris.
[2] After Juel's death in 1697, Christian V arranged for his official mistress and mother to five of his children, Sophie Amalie Moth, to take over his mansion.
[3] The owners included Frederik Danneskiold-Samsøe, Gyldenløve's second oldest son, who played an important role in the development of the Nyholm naval base and dockyard.
Later the department store Magasin du Nord, located on the other side of the square, had a window exhibition in the mansion's ground floor and a tea garden opened in the courtyard.
[2] In 2012, the French State decided to put the mansion through a major restoration under the leadership of Frédéric Didier, head architect at the Palace of Versailles.
However, examination of Countess Shack's private letters has shown that transformation of the interior actually happened a few years earlier during her ownership to designs by the French architect Christophe Jacob Vallois.