The first stone church was built around the 13th-14th century. In the subsequent years, the church was expanded several times, but also destroyed, and burned to the ground during the war in the 18th century. It was not rebuilt until 50 years later, and its current shape is the result of a 19th-century reconstruction in neo-Gothic style. The church is oriented, and parts of some walls have survived from the original Gothic structure.