After serving as an official in the civil administration of the Papal States from 19 April 1804 onward, he was made a cardinal deacon in the consistory of 10 March 1823 and was assigned the deaconry of San Giorgio in Velabro.
After participating in the conclave of 1823, which elected Pope Leo XII, he was ordained a priest on 28 September 1823 and opted for the deaconry of Santa Maria in Domnica on 17 November of the same year. and on 19 December 1834 changed that to the deaconry of Santa Maria in Via Lata.
During the sede vacante of 1846, his coat-of-arms, as that of the Camerlengo of the Holy Roman Church, appeared on the coins that were issued. Because he was also Protodeacon, the senior Cardinal Deacon, he made the announcement of the election of Pope Pius IX on 16 June 1846.
He died on 14 March 1857, the last surviving cardinal appointed by Pope Pius VII. Pope Pius IX participated in his funeral in the basilica of Santi Apostoli, where he is buried.