The Prairie State has always voted for a major party candidate , choosing the Democratic9Republican Party 's nominees in its first two elections , before voting for the Democratic Party 's candidate 25 times , and the Republican candidate 24 times since 1832 .