In 1597, the Jesuits arrived in the city, followed in 1606 by the Capuchins, to eradicate Protestantism. Only 5% of all the residents of Ljubljana at the time were Catholic, and so it took quite a while to re-Catholicize the town. The Jesuits staged the first theatre productions in the town, fostered the development of Baroque music, and established Catholic schools. In the middle and the second half of the 17th century, foreign architects built and renovated numerous monasteries, churches, and palaces in Ljubljana and introduced Baroque architecture. In 1702, the Ursulines settled in the town, and the following year they opened the first public school for girls in the Slovene Lands. Some years later, the construction of the Ursuline Church of the Holy Trinity started. In 1779, St. Christopher's Cemetery replaced the cemetery at St. Peter's Church as Ljubljana's main cemetery.