Vermont Senator Bernie Sanders on Tuesday won the Wisconsin Democratic primary.

The win is a big boost for Sanders, who has won six out of the last seven nominating contests, including Alaska, Hawaii, Idaho, Utah, Washington and Wisconsin. Former Secretary of State Hillary Clinton took Arizona.

Sanders received 56.6 percent of the vote to Clinton's 43.2 percent, giving Sanders 47 pledged delegates and Clinton 41.

Clinton is expected to do better in her adopted home state of New York, which holds its primary in two weeks. Sanders said Tuesday that he believes he “can win” New York.

On the Republican side, Texas Senator Ted Cruz won a decisive victory in Wisconsin, taking 48.2 percent of the vote and 36 of the state's 42 delegates.

While Cruz continues to trail Donald Trump, Tuesday's win moves the party closer to a contested convention in Cleveland.

“Tonight is a turning point,” Cruz told a crowd in Milwaukee. “I am more and more convinced that our campaign is going to win the 1,237 delegates needed to win the Republican nomination. Either before Cleveland or at Cleveland … we will win a majority of the delegates.”