The Allenstein Castle was the seat of an administrator of the Warmian cathedral chapter and the main location of one of the three chamber offices that were subordinate to the chapter and, together with the episcopal chamber offices, formed the Bishopric of Warmia, which was granted as secular territory to the bishop and the chapter when the four Prussian dioceses were founded in 1245.
In 1455, Allenstein Castle was taken over by the mercenary captain Knight Georg von Schlieben.[5]
From 1516 to 1519, the office of administrator was held by the nephew and foster son of the Warmian bishop Lucas Watzenrode, the Warmian canon Nicholas Copernicus, who became known as an astronomer. Copernicus lived at Allenstein Castle during this time. As evidence, an astronomical table for calculating the equinox painted on the plaster of the castle's cloister has been preserved to this day. At the time of the war between Poland and the last Grand Master of the Teutonic Order in Prussia, Albrecht von Hohenzollern, he returned to Frauenburg, but was called back to Allenstein in the autumn of 1520. Archdeacon Bernhard Sculteti supported Copernicus with cannons and provisions so that Allenstein Castle could be maintained independently and in full independence from Poland.[6] It was not attacked and a ceasefire was concluded on April 7, 1521. Due to his successful defense, Copernicus was appointed Commissioner of Warmia and tasked with its reconstruction. Tiedemann Giese, the later Bishop of Warmia, was his assistant. Source Wikipedia