A monk of the Cluniac order, he created the Cardinal-Priest of San Clemente by Pope Gregory VII (1073–85) in 1073. He was consecrated as pope in succession to Pope Urban II (1088–99) on 19 August 1099. His reign of almost twenty years was exceptionally long for a pope of the Middle Ages.