Malagrida's influence at the Court of Lisbon met with deep hostility from the prime minister, Carvalho, the future Marquis of Pombal. Carvalho was attempting to rebuild Lisbon following the 1755 earthquake, which Malagrida preached was the punishment of a just God on a sinful people. Carvalho resented the implicit criticism of the government, and persuaded King José to banish Malagrida to Setúbal in November 1756 and had all Jesuits removed from the Court.