Quadragesimo Anno, an encyclical issued by Pope Pius XI in 1931 that warned of the dangers of unrestricted capitalism and declared that the function of the state was to protect everyone’s rights, but that “chief consideration ought to be given to the weak and the poor.”