This 15th-century Gothic church is on the way up to the castle.