Wilhelm Liebknecht took part in Germany’s failed revolution of 1848 and became a close ally of Karl Marx in exile. He went on to lead the Social Democratic Party, which defied state repression to become the world’s most formidable working-class movement.