In 1528 the Reformation gained a foothold in Glarus, directed by Zwingli in Zürich. Even though he had preached in Glarus for 10 years, the town remained strongly Catholic. However, following the Second war of Kappel in 1531 both the Catholic and Protestant residents were given the right to worship in town. This led to both religious groups using the town church simultaneously, an arrangement that caused numerous problems. By the 18th Century both the groups shared the church but had separate organs. In 1697 there were two financially and theologically independent parishes meeting in the city church.