 He later participated in the papal conclave of 1700, which elected Pope Clement XI.He resigned as Bishop of Vicenza on 25 March 1702.On 15 January 1703, he was named Camerlengo of the Sacred College of Cardinals, and he held that office until 14 January 1704.