The "Collegium" was temporally closed in 1626 due to war of Poland with Swedish king Gustavus Adolphus (Polish-Swedish War (1625–1629)), and reopened in 1637. In 1646 Matthaeus Montanus (Matthias Bergh), a canon of Warmia, funded a new, large schoolhouse. In the years 1665-1668 the school was closed again due to destructive Swedish invasion in Prussia and Poland, Swedish Deluge.