Ugolino dei Conti, a cleric from Anagni near Rome, ruled the Papal States as Pope Gregory IX. He was promoted to cardinal-bishop of Ostia and Velletri in 1206. On 19 March 1227 he succeeded Honorius III as pope and later established the Papal Inquisition.