Rubuta ci gaba don wannan sakin layi - A cikin 1793 sakamakon sakamakon Raba na Biyu na Poland garin ya zama wani ɓangare na Masarautar Prussia. A cikin 1807 ya zama wani ɓangare na Poland Duchy na Warsaw, sannan a cikin 1815 wani ɓangare na Congress Poland a cikin Daular Rasha. A cikin 1846 an buɗe sashin hanyar jirgin ƙasa na Warsaw-Vienna wanda ya ratsa garin, yana ba da haɗin jirgin ƙasa zuwa Warsaw. Mazauna sun shiga cikin Nuwamba da Janairu
tayar da kayar baya a kan Rasha. Bayan na biyun, zalunci na Poland, gami da manufofin Rashawa, ya ƙaru. Gwamnatin Rasha ta kori 'yan Franciscan daga garin.