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 Villa d'Este is a 16th-century villa in Tivoli, near Rome, famous for its terraced hillside Italian Renaissance garden and especially for its profusion of fountains: the extraordinary system contains fifty-one fountains and nymphaeums, 398 spouts, 364 water jets, 64 waterfalls, and 220 basins, fed by 875 meters of canals, channels and cascades, and all working entirely by the force of gravity, without pumps. It is now an Italian state museum, and is listed as a UNESCO world heritage site.
Tivoli had been a popular summer residence since ancient Roman times due to its altitude, cooler temperatures and its proximity to the Villa Hadriana, the summer residence of the Emperor Hadrian I.
The Villa was commissioned by Cardinal Ippolito II d'Este (1509-1572), second son of Alfonso I d'Este, the Duke of Ferrara and grandson of Pope Alexander VI, along with Lucrezia Borgia.