Construction of the Melsztyn Castle was initiated in 1340, by the castellan of Kraków, Spicymir. In 1362, Bishop Bodzanta blessed the Holy Spirit chapel at the castle. The complex for 200 years remained in the hands of the powerful noble family of Leliwita Melsztyński, which in the late 14th century built a Gothic keep, located in the western wing of the castle. In the 15th century, Melsztyn was one of centers of Polish Hussite movement, and in 1511, Jan Melsztyński sold it to the castellan of Wiślica, Mikołaj Jordan of Myślenice. In ca. 1546, Spytek Jordan ordered remodeling of the Gothic complex, turning it into a Renaissance residence. After the marriages of his two daughters, Melsztyn became the property of the Tarło family, and in 1744, it came into the hands of the Lanckoroński family.
Melsztyn Castle was destroyed by the Russians in 1771, during the Bar Confederation, and has been a ruin since then. In 1789–1796, parts of the complex were pulled down, in order to gain building materials for a church at Domosławice. In the following years, the complex was neglected, which resulted in collapse of the keep (1846). In 1879-85, due to the efforts of Karol Lanckoroński, the castle gained the status of a permanent, protected ruin. Since 2008, it belongs to the gmina of Zakliczyn. The castle has been presented in paintings of Jan Matejko, Napoleon Orda, and Maciej Bogusz Steczyński.
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.