 Due to it, he was prosecuted by the Holy Office.Despite his French sympathies, he was appointed First Secretary of State (Prime Minister) 12 February 1799, and remained in office till 13 December 1800.While in office, he did all he could to limit the power and influence of the Inquisition, which brought upon him the enmity of the Holy See.