Pope Pius XI
Quadragesimo Anno §113
Quadragesimo Anno: On Reconstruction of the Social Order
113 The other section, which has kept the name Socialism, is surely more moderate. It not only professes the rejection of violence but modifies and tempers to some degree, if it does not reject entirely, the class struggle and the abolition of private ownership. One might say that, terrified by its own principles and by the conclusions drawn therefrom by Communism, Socialism inclines toward and in a certain measure approaches the truths which Christian tradition has always held sacred; for it cannot be denied that its demands at times come very near those that Christian reformers of society justly insist upon.
Source: Quadragesimo Anno (Vatican.va)