First Partition of Poland
The Polish, and mainly Catholic town was annexed by the mostly Protestant Kingdom of Prussia in 1772 during the First Partition of Poland and made part of the province of East Prussia the following year.