 Chiaramonti was made Bishop of Tivoli in 1782, and resigned that position upon his appointment as Bishop of Imola in 1785.That same year, he was made a cardinal.In 1789, the French Revolution took place, and as a result a series of anti-clerical governments came into power in the country.