One way to stop socialism was to make the working class happy. He did so by introducing many social reforms like public health and accident insurance, as well as pensions for old people. Bismarck's pension scheme was the forerunner of the modern welfare state in Germany, and many other countries started similar systems.