According to Jon Grinspan at the Smithsonian,
The amazing thing about running for president is how many people are actually willing to attempt it. The 2016 campaign’s big crop is nothing new—throughout American history large numbers of contenders have crowded into the ring. And though the forty-one-candidate Democratic primary of 1924 seemed to have had the most aspirants, the campaigns of the late 19th century struck citizens as the most overstuffed.And the most ridiculous.
You can read Grinspan’s entire post here: Poking fun at the crowded presidential race—in the 1880s | National Museum of American History