Rubuta ci gaba don wannan sakin layi - Tsakanin 1871 da 1945 yankin ya kasance wani ɓangare na Jamus ( lardin Gabashin Prussia). A ƙarshen karni na 19 garin yana raguwa a hankali. Yahudawa na gida, waɗanda al'ummarsu ta wanzu tun farkon ƙarni na 19, Jamus ta ɗaure su a sansanin taro na Stutthof a lokacin Yaƙin Duniya na II. Har ila yau, Jamusawa sun yi aiki da sansanin tilasta yin aiki na sansanin fursunonin yaƙi na Stalag I-A a cikin garin, da kuma wani sansanin sansanin da ke kusa da garin Stutthof. An kwashe fursunonin na karshen a watan Janairun 1945 kuma aka kashe su a kisan kiyashi na Palmnicken. A farkon watan Fabrairun 1945, Soviets sun shiga kusan kusan watsi da
Birnin, suka washe shi, suka hallaka shi. Bayan yakin ya sake zama wani ɓangare na Poland.