 He was made cardinal in February 1838 by Pope Gregory XVI.He received the red hat and the title of S. Maria sopra Minerva on 15 February 1838.In December 1841, he resigned pastoral government of the diocese.