At the church, on Šv. Ignoto St., a Dominican monastery was established in 1501. Like many others, this monastery was converted into a prison by the tsarist authorities in 1807. It was a place for imprisonment for many Lithuanian patriots - the Philarets, participants in the 1831 and 1863 uprisings.