Shortly after the death of Alexander III ( 30 August 1181 ) Lotario returned to Rome and held various ecclesiastical offices during the short reigns of Lucius III , Urban III , Gregory VIII , and Clement III , reaching the rank of Cardinal-Deacon in 1190 .
During the short reigns of Pope Lucius III , Pope Urban III , Pope Gregory VIII , and Pope Clement III , he served in the church bureaucracy .