Located on the rock, the basilica was built over a former Romanesque temple. The current basilica was built in the 16th century, in late Gothic style with Renaissance decoration. The building consists of the church, the chapel of St. John of Letrán and the cloister.