However, through the latter part of the nineteenth century, the enthusiasm of the working class for liberalism weakened. Liberalism implied not only that people should be politically equal but that they should be regulated and helped by the government as little as possible. Workers were in a weak position socially and economically, and they often found that they would like help from the government in ways that were inconsistent with liberalism. Governmental protection against unemployment and sickness, governmental regulation of working hours and of safety in the factories, governmental prohibition of child labor—these and similar wishes of labor were inconsistent with liberal principles. Naturally, compromises and accommodations could be reached within the movement, and labor was not left totally out in the cold, but the fact remained that labor often found that it had to buck the basic philosophy of the movement of which it was a part. When a new ideology appeared that was more congenial to labor, workers moved to it fairly readily. This ideology was socialism.