Nidzica castle construction was begun around 1370. The Pfleger of the Teutonic Knights made it his residence in 1409. On 12t July 1410, the undefended castle was captured by the Polish forces on their way into the interior of the State of the Teutonic Order. At the time of the Hunger War of 1414 the castle was put under siege by the Polish knights and taken after eight days on the 6th of July. In 1454 the castle was occupied by the Prussian Union and in February 1455 was taken by the Czech army led by Jan Kolda ze Zampachu, who had repulsed an attack an by the forces of the Teutonic Knights on 28 April.
In 1517 the inner ward was built up and reinforced. In 1784 a fire consumed the innter ward. In 1812 the castle was devastated by French forces. The castle was rebuilt from 1828-1830 into a court and a prison. The Soviet army bombarded the castle in 1945 and it remained in ruins until its rebuilding in 1961-1965.
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.