Texas Sen. Ted Cruz won the Wisconsin Republican primary on Tuesday, making the prospect of a contested convention increasingly likely.

On Tuesday night, Cruz called his projected win in the Badger State a "turning point" in the GOP primary that bode well for his candidacy's future.

"As a result of tonight, as a result of the people of Wisconsin defying the media, defying the pundits, I am more and more convinced that our campaign is going to earn the 1,237 delegates that's needed to win the Republican nomination," Cruz said. "Either before Cleveland or at the convention in Cleveland, together we will win a majority of the delegates and together we will beat Hillary Clinton in November."

Exactly how many of the state's delegates Cruz will receive is unknown, but a sweeping win could bolster Cruz's argument that the race has come down to a one-on-one contest between himself and Donald Trump. Wisconsin allocates delegates on the basis of the state's popular vote and the results from the state's individual congressional districts.

With 41 percent of the vote tallied, Cruz led Trump 51.69 percent to 31.82 percent, according to the Associated Press.

Cruz's victory came with the support of several prominent Badger State conservatives, including influential radio host Charlie Sykes and Wisconsin Gov. Scott Walker.

But the senator's decision to deploy his wife, Heidi Cruz, and his former rival, Carly Fiorina, to Wisconsin in his absence may have changed some voters' minds. Both women have had their physical appearance derided by Trump this campaign season, and their presence served as a constant reminder of the trouble Trump has recently courted. Heidi Cruz received loud applause onstage Tuesday night, as audience members chanted her name when she stood alongside her husband.

In the weeks leading up to Tuesday's primary, Trump tweeted an image appearing to mock Heidi Cruz's appearance and his campaign manager faced charges stemming from a confrontation with a female reporter in Florida. Trump also suggested women who receive abortions should face punishment, but later appeared to walk back his statements.

The loss in Wisconsin deals a stinging blow to Trump, who enjoyed a slight advantage over Cruz in Wisconsin polling from earlier this month. Statewide polling appeared to indicate public opinion was seesawing between the two men in March, but Cruz gained the upper hand when April arrived.

Following the Wisconsin contest, the Republican primary will shift its focus to Trump's home turf, New York. Both men will campaign in the Empire State on Wednesday. And New York Republicans will cast their ballots on April 19.

But Cruz looked past the upcoming primaries and told Wisconsinites he looked forward to returning in the fall.

"Hillary, get ready, here we come," he said.