Hillary Clinton and Bernie Sanders are running two of the most technologically advanced, data-driven presidential campaigns of all time, revolutionizing politics in America.

And yet on Monday night at the Iowa caucus, when Des Moines Precinct 70 was split 61-61 between the Democratic candidates, the winner was decided by… a coin toss.

Watch the fancy tie-breaking method in action:

This is how the #IowaCaucus works. A tie is solved tossing a coin @HillaryClinton wins pic.twitter.com/yZDTUKFJXQ — Fernando Peinado (@FernandoPeinado) February 2, 2016

It happened at other caucus locations, too:

I've now heard of six caucus locations with coin flips, and Hillary Clinton won all of them: https://t.co/VT3fBZFvsl — Jason Noble (@jasonnobleDMR) February 2, 2016

Welcome to 2016.

The practice is exceedingly rare, but a legal part of the caucus process.

The coin toss rule is on the #IowaCaucus guide for Democratic precinct chairs pic.twitter.com/KQXRXaiLrx — Fernando Peinado (@FernandoPeinado) February 2, 2016

The rule reads: In a case where two or more preference groups are tied for the loss of a delegate, a coin shall be tossed to determine who loses a delegate.

It should be noted that this isn’t a winner-takes-all situation. These are county-level delegates, of which there are thousands, and as the Des Moines Register explained, the coin flips “had an extremely small effect on the overall outcome.”

Election of leaders by lottery dates back to ancient Athens. A “game by lot” system was revered as it was believed that whomever won had the gods on their side.

Today, in state elections, tied races can also be settled by card games or drawing straws.

It seemed like the gods were on Clinton’s side on Monday night, as one redditor posted the odds of her winning all six coin tosses.

As another redditor says …