San Pedro and San Ildefonso Church was built in the 11th century by the King Ferdinand I of León. In the 12th and during the 13th centuries it was extended. From the 15th century it underwent a series of modifications and today there are little remains of the original Romanesque church.
References:The first written record of church in Danmark locality date back to the year 1291. Close to the church are several stones with a Christian text and cross inscribed. The oldest parts of the present red-brick church are from the 1300s. In the late 1400s the church was enlarged to the appearance it has today. The church has been modified both internally and externally several times, among other things after the fires in 1699 and 1889. There are lot of well-preserved mural paintings in the walls.