 Bernard obtained a canonry in the Cathedral of Bologna, and was also named chaplain to Pope Innocent IV and Pope Alexander IV, by whom he was employed in solving questions of weight.Bernard found ample scope for his literary activity in his chosen branch, canon law.From glosses, summaries, and similar works, which had appeared on the "Decretals of Gregory IX" and other collections, he completed, just before his death, a work on the Gregorian Decretals.