With industrialization there came a population explosion, a dramatic rise in the standard of living for many (and harsh, but different, conditions for others), and a desire to have greater control over birth and death rates.
This desire expressed itself through the state and also in a social demand for improved working conditions.