Instead, facing the economic depressions of the late nineteenth and early twentieth centuries, political leaders proved capable of reforming liberal capitalism, deflecting popular revolt with the creation of the welfare state, starting in Germany and Britain.