In 1875 the two groups united at a conference held in Gotha, forming the Socialist Workers’ Party of Germany. But in his Critique of the Gotha Programme (1875), Marx suggested that the ideas of the new party owed more to Lassalle than to himself.
Two groups = Lassalle's, and Liebknecht's/Bebel's SPD.