structural:reformatting
Ending of the Inquisition in the 19th and 20th centuries

By decree of Napoleon's government in 1797, the Inquisition in Venice was abolished in 1806.

In Portugal, in the wake of the Liberal Revolution of 1820, the "General Extraordinary and Constituent Courts of the Portuguese Nation" abolished the Portuguese Inquisition in 1821.

The wars of independence of the former Spanish colonies in the Americas concluded with the abolition of the Inquisition in every quarter of Hispanic America between 1813 and 1825.

The last execution of the Inquisition was in Spain in 1826. This was the execution by garroting of the Catalan school teacher Gaietà Ripoll for purportedly teaching Deism in his school. In Spain the practices of the Inquisition were finally outlawed in 1834.

In Italy, the restoration of the Pope as the ruler of the Papal States in 1814 brought back the Inquisition to the Papal States. It remained active there until the late-19th century, notably in the well-publicised Mortara affair (1858–1870). In 1908 the name of the Congregation became "The Sacred Congregation of the Holy Office", which in 1965 was changed to " Congregation for the Doctrine of the Faith ", and in 2022 further changed to " Dicastery for the Doctrine of the Faith ", as retained to the present day.