The last execution of the Inquisition was in Spain in 1826.[57] This was the execution by garroting of the school teacher Cayetano Ripoll for purportedly teaching Deism in his school.[57] In Spain the practices of the Inquisition were finally outlawed in 1834.[58]
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 further changed to "Congregation for the Doctrine of the Faith", as retained to the present day.