Międyrzecz Castle was built around 1350 by Casimir III the Great in the place of a former gord from the second half of the ninth century, located on a small hill in between two floodplains of the Obra and Paklica Rivers.
Due to the location of the stronghold, the castle was expanded and modernised, although that caste itself did not go through any major battles in the medieval times. In 1474, King Matthias Corvinus of Hungary took over the castle. In 1520, the castle was heavily damaged by the Teutonic Order during the war with Poland, after which the castle was modernised and in 1574 two bastions were built around the castle.
In 1655, the castle was destroyed by the Swedes. In the first half of the eighteenth century the castle was so damaged that even after reconstruction the castle was not able to be used. After the Second Partition of Poland the Prussian forces gave the castle to a Prussian family. The interior of the castle was used as a warehouse and the top floors for a winery.
Since 1945 the castle is used to house a museum. In the years of 1954 to 1958 a number of archaeological excavations were carried out. In the 1950s and 1960s the castle was renovated and stopped the castle from becoming a ruin. The gatehouse and nearby living quarters were reconstructed.
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.