Why did the Democratic Party lose the Presidential election of 1896?

How did the Populist Party change the Democratic Party?