In 1774 a parish school was opened. During the 1863 Uprising, the town was seized by the rebels led by Antanas Mackevičius. In 1905, during the revolution in Russia, locals as the social democratic leader Jurgis Smolskis created Republic of Kamajai and resisted the tsarist authorities. The new Kamajai church, named after Saint Casimir, was built in 1903 in Gothic Revival style. It has two towers. It is said that one of the towers collapsed during World War II, and the other was severely damaged. The residents, lacking funds for reconstruction, decided to tear down the second tower. To this day the towers are not rebuilt.