At the time of the Partitions of Poland the prince-bishopric of Warmia with Braunsberg became a part of the Kingdom of Prussia in 1772, and in 1773 the Society of Jesus was suppressed. The Prussian government turned the closed Collegium in 1780 into Gymnasium Academicum, from 1818 called Lyceum Hosianum, which in 1912 became a State Academy.
