In the years 1280-1283, the Grand Master of the Teutonic Knights, Konrad von Feuchtwangen, began the construction of a castle-fortress on the site of the ancient Prussian stronghold of Zantyr. The construction was prepared in advance by cutting down the forest and collecting building materials, partly from materials obtained from the demolition of the old monastic buildings of the castle in Zantyr.