The chapel was built in 1722–1725. In the Baroque era it was the main landmark of the town. In 1784 the chapel was secularized and later (1787) sold. The new owner had the chapel converted to a wind mill, but it was frequently damaged by strong winds. Its operation was therefore discontinued and an inn was opened in the adjacent buildings. In 1845 the chapel again started serving its original, i.e. religions purpose.