This church was first mentioned in a charter from the foundation in 1304, but was already recorded elsewhere in 1267. Originally, the parish church had a narrower floor plan and octagonal pillars. It was first enlarged in 1350. In 1462, the foundation stone for the new Gothic building was laid. Between 1462 and 1475, the present choir was added. Between 1475 and 1493, the nave was built in its present form with the help of miners. The interior was given a Baroque makeover at the end of the 18th century; the reticulated vaults were removed and the frescoes on the exterior were painted over. The Baroque furnishings were almost completely lost in the great fire, but attempts were made to restore the interior to its Gothic form. In 1899, the tower roof was raised. In 1909 and 1912, the building was re-Gothicized; the west rose window on the façade was exposed and an organ loft was added. There are some remarkable frescoes on the outside of the church.