27 It must be admitted that the Church's leadership was slow to realize that the issue of the just structuring of society needed to be approached in a new way. There were some pioneers, such as Bishop Ketteler of Mainz († 1877), and concrete needs were met by a growing number of groups, associations, leagues, federations and, in particular, by the new religious orders founded in the nineteenth century to combat poverty, disease and the need for better education. In 1891, the papal magisterium intervened with the Encyclical Rerum Novarum of Leo XIII. This was followed in 1931 by Pius XI's Encyclical Quadragesimo Anno . In 1961 Blessed John XXIII published the Encyclical Mater et Magistra , while Paul VI, in the Encyclical Populorum Progressio (1967) and in the Apostolic Letter Octogesima Adveniens (1971), insistently addressed the social problem, which had meanwhile become especially acute in Latin America. My great predecessor John Paul II left us a trilogy of social Encyclicals: Laborem Exercens (1981), Sollicitudo Rei Socialis (1987) and finally Centesimus Annus (1991). Faced with new situations and issues, Catholic social teaching thus gradually developed, and has now found a comprehensive presentation in the Compendium of the Social Doctrine of the Church published in 2004 by the Pontifical Council Iustitia et Pax . Marxism had seen world revolution and its preliminaries as the panacea for the social problem: revolution and the subsequent collectivization of the means of production, so it was claimed, would immediately change things for the better. This illusion has vanished. In today's complex situation, not least because of the growth of a globalized economy, the Church's social doctrine has become a set of fundamental guidelines offering approaches that are valid even beyond the confines of the Church: in the face of ongoing development these guidelines need to be addressed in the context of dialogue with all those seriously concerned for humanity and for the world in which we live.
Source: Deus Caritas Est (Vatican.va)