 In 1838, he publicly opposed the interference of the Roman Catholic Church in civil matters and, in consequence, was interdicted from lecturing on the philosophy of religion during the last three years of his life.He died on 23 May 1841.He is buried in the Alter Südfriedhof in Munich.