Jerzy Grodziński died without heirs. On May 16, 1602, he had bequeathed all of his properties to the Dominican monastery in Vilnius. He died on 12 January 1603 and on 4 June 1603 king Sigismund III Vasa accepted the testament. In 1610 the monks started the construction of a large monastery there. The construction of the monastery was finished in 1619 and by 1632 a new church was built nearby, devoted to Holy Mary, Saint George and Saint Hyacinth. The town developed slowly, mostly due to low traffic on the old trade routes to Grodno. In the 17th century, another church was built, consecrated to the Holy Spirit. A printing press was started and most probably a hospital. The monastery was being constantly expanded, becoming one of the most notable examples of a fortified monastery in Central Europe.