In the 12th century on the hills above Škofja Loka stood three fortifications: the Upper Tower on Krancelj, the Lower Fort and the Loka Castle, a residence of Freising Bishops, built at the brink of a natural terrace. The castle is first mentioned in 1202 as castrum firmissimum, although today's building dates from the 16th century. The castle was rebuilt in 1691 after an earthquake and in 1716.
The castle was administered by Loka chiefs, among them Lambergs, Thurms, and Rasps. Since 1890 the castle has been managed by the Ursulines, who pulled down the Romanesque yard tower and transformed it into a school. Since 1959 it has hosted the Loka Museum.
The circular castle dominates above Škofja Loka town and presents the conclusion of the town walls. It can be dated after the earthquake in 1511, although some parts are older, which was confirmed during the renovation works in 2006–2008. The north-eastern tower, the oldest in the structure, is built on an older predecessor from the 10th century. Together with the renovation work the reconstruction of the primary entrance with a wooden drawbridge was also carried out.
References:Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.