The rise of socialism