In the 14th century, on the orders of King Casimir the Great, a castle was built in Złotoria to protect the border of the Kingdom of Poland with the Teutonic state. His fate was turbulent. Over the years, it was alternately in Polish and Teutonic hands. In 1411, the First Peace of Toruń was signed in Złotoria , under which the Dobrzyń land and the castle returned to the Crown, and the Teutonic Knights were obliged to pay compensation for the destroyed castle. However, this did not happen... After the Second Peace of Toruń in 1466, when the border with the state of the Teutonic Order was moved north, the castle in Złotoria lost its strategic importance.
Today, its modest ruins stand alone on the right bank of the Vistula, at the mouth of the Drwęca River, creating a picturesque scenery. Interestingly, the castle is remembered in the pages of Polish literature. Henryk Sienkiewicz chose it as the place where Danusia's mother died in "Krzyżacy” (“The knights of the cross”), and Józef Ignacy Kraszewski included a literary description of the siege of the castle in his novel "The White Prince".