Stanislaus Beinart built the church and handed it over to the Dominicans. In 1680, brought a copy of the painting of Mary the Victorious (considered miraculous by people since 1700; original in Naples). Cossacks 1649-1864. belonged to the Dominican monastery of Ferns. Since 1700 A priest always lived in Kazokiškės. Kazokiškės was a parish of Ferns, after 1864. - Žaslii parish branch.
1782-1790 the church was reconstructed. It is believed that the author of the reconstruction project is Augustinas Kosakauskas, and the baroque part of the facade remains from the old church. 1905 priest Jonas Bobkevičius made church visitors swear to speak only Polish. He wrote the children of Lithuanian families in the black book.
1948 Pastor Juozap Čaplik was arrested and sentenced to 10 years. to jail