Originally a Romanesque church founded by the monks of the Cistercian Monastery in the 12th century, the building was modified in the Gothic style in the late 13th century and in the 1370s. A curiosity is the Baroque tower, erected unusually in the axis of the presbytery at the end of the 18th century. The church was closed due to the reforms of Emperor Joseph II; it was restored in 1859–75 and modified in the romantic Neo-Gothic style. The interior has preserved many valuable components, including the tombstone of Ladislav of Sternberg (1566). Adjacent to the church is the Archdeanery building with a French roof, rebuilt by K.I. Dienzenhofer after the fire of 1746.
Upon request, the church is available to visit during the opening hours of the Museum of St. John of Nepomuk. We ask that large groups planning to visit the church make an appointment in advance.