Voters in the tiny community of Dixville Notch in the first-in-the-nation primary state of New Hampshire have had their say. And the winners are …

Ohio Gov. John Kasich on the Republican side and independent Sen. Bernie Sanders of Vermont for the Democrats.

Kasich earned three votes to Donald Trump’s two. Sanders swept all four Democratic votes.

That’s right — there are only nine voters in Dixville, a resort area about 20 miles from the Canadian border, and the voting took all of about 30 seconds.

RELATED: Sanders, Trump clear front-runners as New Hampshire votes Tuesday

Kasich, who is hoping for a strong New Hampshire primary finish to give him momentum heading into the South Carolina and Nevada primaries later this month, personally called all nine voters in Dixville Notch, his campaign said.

Dixville Notch is one of three tiny towns, including Hart’s Location and Millsfield, with fewer than 100 residents that are allowed by law to open the polls at at midnight. Polls everywhere else in the state begin opening at 6 a.m.

view photo essay On the ground with the New Hampshire primary Democratic candidate Sen. Bernie Sanders was the projected winner in the New Hampshire primary, the nation’s first of the 2016 presidential race, on Tuesday,

Hart’s Location, a town of 43 registered voters about 80 miles south of Dixville, rebooted its midnight voting in 1996. Tonight voters there also went for Kasich and Sanders, according to a tally posted on the town’s website.

On the Republican side, Kasich earned five votes to Trump’s four. New Jersey Gov. Chris Christie followed with two votes, while former Floridan Gov. Jeb Bush, Sen. Marco Rubio of Florida and doctor Ben Carson each earned one. On the Democratic side, Sanders won 12 votes to former Secretary of State Hillary Clinton’s seven. Two people went for Democratic candidate Mark Stewart Greenstein.

Millsfield made its return to midnight voting this year. There, Republican Sen. Ted Cruz of Texas cleaned up on the Republican side with nine votes. Trump earned three, and each of the other Republican candidates except for Ben Carson earned one vote. Clinton beat Sanders two votes to one in Millsfield.

If you’re keeping tally, that puts Republican candidates Kasich, Trump and Cruz in a three-way tie for first place with nine votes each. Sanders has the upper hand over Clinton, 17-9.

The midnight primaries, however, are so small that they are not considered predictive of how the state’s Democratic and Republican primaries will ultimately shake out.

This article first appeared on NBCNews.com.