Originally a wooden church from the 13th century on the premises of the Benedictine monastery, now a parish church