Sen. Bernie Sanders (I-VT) won the New Hampshire primary on Tuesday night, NBC and ABC News projected.

Sanders outpaced former South Bend, Indiana, Mayor Pete Buttigieg and Sen. Amy Klobuchar (D-MN), who ran as moderate alternatives to the Vermont senator's anti-establishment campaign.

Senator Elizabeth Warren (D-MA) and former Vice President Joe Biden appeared headed for distant fourth and fifth place finishes.

With 88% of the votes having been counted, Sanders led the way with 26% and Buttigieg was close behind with 24.3%.

Klobuchar had a nice showing and came in third with 19.8%, Warren was in fourth place with 9.4%, and Biden won just 8.4%.

Based on these tallies, NBC News has projected that neither Warren nor Biden will be awarded any delegates in New Hampshire.

Speaking shortly after he was projected to win the primary, Sanders said, "This victory is the beginning of the end for Donald Trump.”

"No matter who wins ... [Democrats] are going to unite together and defeat the most dangerous president in the modern history of this country," he added.

Meanwhile, two candidates dropped out of the race soon after the polls closed: Businessman Andrew Yang and Senator Michael Bennet (D-CO).

There was no surprise on the Republican front, as President Donald Trump easily won the primary with 85% of the votes.