Ohio Gov. John Kasich and Vermont Sen. Bernie Sanders are off to a good start as the first-in-the-nation primaries get underway in New Hampshire.

As the clock struck midnight, voting began in three tiny towns in New Hampshire, including Dixville Notch, whose residents have a pretty good reputation for picking the eventual party nominees. The other two towns participating in midnight voting are Millsfield and Hart's Location.

In Tuesday's midnight vote, only nine people voted in the tiny Dixville Notch community about 20 miles from the Canadian border.

Kasich won on the Republican side with three votes, beating out billionaire businessman and favorite to win, Donald Trump. He received two votes.

After news of his victory in Dixville Notch, Kasich tweeted out that he has "early momentum," and urged voters in New Hampshire to "keep it going."

On the Democratic side, Sanders swept the field, taking all four votes away from former Secretary of State Hillary Clinton. It marked the second New Hampshire primary in a row that Clinton was swept in Dixville.

In 2008, then-Sen. Barack Obama took seven votes and John Edwards took two. Clinton, however, managed to win the New Hampshire primary, while Obama became the eventual nominee. Sen. John McCain also won that year.

While the town's record in predicting the primary winners is a bit shaky, its residents have predicted the eventual Republican nominee in every election since the 1960s.

Because of a state law, Dixville Notch, along with Millsfield and Hart's Location, is allowed to vote at midnight because each boast a population below 100 residents. Results are announced as soon as the votes are cast.

In Millsfield, Ted Cruz reportedly pulled away from the pack with nine votes, ahead of second place Trump. Clinton beat Sanders two votes to one.

Kasich earned a second victory in Hart's Location, beating second place Trump five votes to four. Meanwhile, Sanders took a commanding 12 votes to Clinton's five.