the medieval church built in the 14th century and the oldest building