Baroque church was built in 1733 - 1736 by K.I. Dientzenhoffer on the site of the former church from 1485. In 1759 the wooden roofs were destroyed by fire. The dome was reconstructed in 1861.