The correct answer here is the second option.
The United States entered the Great Depression after the market crash in 1929. The president Hoover, incumbent president at the time, was a republican who did not want the government to interfere as he believed the market would fix itself. This angered many people and after the election, a democrat, president Roosevelt got the country out of depression and thus increased the popularity of the Democratic Party.