This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Please enable Javascript to watch this video

INDIANAPOLIS, Ind. – Bernie Sanders won the Indiana Democratic primary against fellow Democratic presidential candidate Hillary Clinton, according to the Associated Press.

Sanders took to social media to thank Indiana for the win.

The political revolution wins in Indiana! Thank you. pic.twitter.com/Ix7wutAw2g — Bernie Sanders (@BernieSanders) May 4, 2016

The results may surprise some, because recent polls showed Clinton leading in the state.

Both Clinton and Sanders’ camps have been campaigning in the Hoosier state for several weeks, leading up to the primary.

Clinton only attended a few events in Indiana this election season, including stops in northern Indiana and one in Indianapolis. Some believe the former secretary of state’s decision to only visit a few times, may have indicated a confidence in winning the state.

Clinton’s husband, former President Bill Clinton, and their daughter Chelsea also attended a few Indiana events over the past couple weeks.

Sanders visited more events across the state than his opponent, including major colleges like Indiana University and Purdue University.

“Let me just take this opportunity to thank people of Indiana for giving us great upset victory tonight,” Sanders said after his Indiana win. “All the pundits thought we were supposed to lose, but that was apparently not what the people of Indiana concluded.”

He continued, “We feel great about tonight, not only in winning here in Indiana and accumulating more delegates, but also gaining the momentum we need to take us to the finish line.”

Sanders drew thousands of people to his last Indiana event Monday. He stuck to his main talking points, speaking to his downtown crowd about income inequality and likening his opponent, Hillary Clinton, to a Wall Street insider.

“I think that while the path is narrow, and I do not deny that for a moment,” Sanders said. “I think we can pull off one of the great political upsets in the history of the United States, and, in fact, become the nominee for the democratic party. And once we secure that position, I have absolute confidence that we are going to defeat Donald Trump in the general election.”

You can follow other election results here.