New Hampshire Democratic primary sees record turnout More than 300,000 ballots were cast in New Hampshire's Democratic primary

Turnout for voters in the New Hampshire Democratic primary reached record levels this year.

According to the Secretary of State's office, a record 300,622 ballots were cast in the Democratic primary, exceeding the 2008 record of 288,672 ballots. According to the certified results, Sen. Bernie Sanders won the Granite State over former Mayor Pete Buttigieg and Sen. Amy Klobuchar.

Unlike the Iowa caucuses, which had stagnant turnout levels compared to 2016, New Hampshire voters turned out in higher numbers than they did four years ago.

On Tuesday, more than 300,000 people voted in the primary -- record levels compared to the last three elections. New Hampshire Secretary of State Bill Gardner had predicted that 292,000 ballots would be cast in the Democratic primary.

In 2008, a record 288,000 people voted in the primary, which saw Sen. Hillary Clinton defeat Sen. Barack Obama and Sen. John Edwards.

According to the certified results, the total vote tally between both the Democratic and Republican primary stood at 457,040 ballots cast, which is 46.6% of registered voters in the state.

Sanders won New Hampshire with 25.4% of the vote, followed by Buttigieg at 24.1%, Klobuchar with 19.6% and single-digit results for Sen. Elizabeth Warren at 9% and former Vice President Joe Biden at 8%.

Following Tuesday's vote, Buttigieg and Sanders both took home nine delegates, while Klobuchar earned six. After two primary contests, despite finishing in second place in vote totals both, Buttigieg leads the total delegate count with 23 delegates. Sanders has the second most with 21, Warren has eight, Klobuchar has seven and Biden comes in with six. Candidates need 1,991 delegates to win the nomination.

"So -- it's on to Nevada, it's on to South Carolina, it's on to win the Democratic nomination," Sanders said during a rally following his projected victory Tuesday. "And together I have no doubt that we will defeat Donald Trump."

Entrepreneur Andrew Yang and Sen. Michael Bennet both dropped out Tuesday after the two net 3% and 0% of the vote, respectively. On Wednesday, former Massachusetts Gov. Deval Patrick also suspended his campaign.

The next Democratic caucuses and primaries are in Nevada on Feb. 22, South Carolina on Feb. 29, and Super Tuesday -- which includes 16 states and territories -- on March 3.

ABC News' Christopher Donato contributed to this report.