 Complete the following phrase:  The castle in Międzyrzecz was built on the location of a former wooden gord from the ninth century, located on a small hill in between two floodplains of the Obra and Paklica Rivers. It is most likely that in the thirteenth century a stone built tower was raised, and the full stronghold was complete in the mid-fourteenth century during the reign of Casimir III the Great. 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 