 He began his career in the Roman Curia as a chaplain of Pope Innocent IV (1243-1254) and "scriptor" in the chancellery (attested in 1245).He is attested as "litterarum apostolicarum contradictorum Auditor" (Auditor of the Rota) on April 30, 1277.At the time of his elevation to the Cardinalate he was a "Protonotarius apostolicus".