San Miguel de Aralar Sanctuary was built in 1032 over the remains of 9th century temple and consecrated in 1074, during the reign of Sancho IV. The Romanesque church was built in two phases, the first comprising the area of apses. It was enlarged in the 12th century with three naves and narthex of interior portico.
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.