Freedom of worship encourages Protestants of the city to build again a temple in 1797. Poorly built, it nearly collapses, is closed in 1829, and then demolished in 1836. The present octagonal temple, built from 1837 to 1842, replaces it. Meyrueis is also the birthplace of the Catholic theologian Henry Maret (1805). Professor of theology at the Sorbonne (1841) and Bishop despite the opposition of the Vatican (1860), he is one of the leaders of the progressive movement that will bring the Catholic Church to accept some modernisation and the Republic. Throughout the nineteenth century, through the mechanisms of demography and due to the influx of workers from the Causse for the hat industry, the Catholic community is growing and becomes the majority. In 1857, St. Peter's church is enlarged. The last vestiges of the castle are destroyed in 1875 and replaced by the Chapel of Notre-Dame-du-Rocher.