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:The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.