Immigration to the US surged in the late 18th and early 19th centuries... and so did socialism.
As immigration tailed off and the 2nd generation assimilated... socialism morphed into blatant communism and receded into irrelevance.
Link: https://issuesinsights.com/2026/06/23/democrats-party-like-its-1910/