The church was founded in 1371 on the site of an old Romanesque church.