Castle of the Masovian Dukes in Ciechanów was built on the turning point of the fourteenth and fifteenth century by Prince Janusz I (1379-1429). The towers located in the four corners of the castle's square formation help to defend the stronghold, and additional 10 metre high defensive walls. Due to dozens of reconstructions and expansions of the castle, the militaristic stronghold transformed into a royal residence. In the fifteenth century, the castle was raised by an additional level and a raised courtyard.
In 1547, the stronghold changed its function into a aristocratic residence. It was the last period of the stronghold's glory. After the Third Partition of Poland, the stronghold became part of Prussia, and was partially deconstructed for cheap building material. In 1818, the castle was owned by the House of Krasiński, in the twentieth century the castle was fully rebuilt.
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.