Anti-clericalism in Italy is connected with reaction against the absolutism of the Papal States, overthrown in 1870. For a long time, the Pope required Catholics not to participate in the public life of the Kingdom of Italy that had invaded the Papal States to complete the unification of Italy, prompting the pope to declare himself a "prisoner" in the Vatican. Some politicians that had played important roles in this process, such as Camillo Benso, conte di Cavour, were known to be hostile to the temporal and political power of the Church. Throughout the history of Liberal Italy, relations between the Italian government and the Church remained acrimonious, and anticlericals maintained a prominent position in the ideological and political debates of the era. Tensions eased between church and state in the 1890s and early 1900s as a result of both sides' mutual hostility toward the burgeoning Socialist movement, but official hostility between the Holy See and the Italian state was finally settled by fascist dictator Benito Mussolini and Pope Pius XI: the Lateran Accords were finalised in 1929.