By the slimmest of margins, the Associated Press and CNN have declared Hillary Clinton the Democratic winner of the Iowa caucuses.

With 100 percent of precincts now reporting, the map for the Democratic Iowa Caucus 2016 shows the former secretary of state  just barely edged out rival Bernie Sanders 49.8 percent to 49.6 percent.

Sanders is weighing his options in regards to a recount, according to the Associated Press.

With just a slim margin separating the two remaining Democratic presidential hopefuls, Hillary Clinton has claimed victory in the Iowa caucus.

Hours after polls closed in Iowa, the former secretary of state appeared to have just barely edged out rival Bernie Sanders 49.9 percent to 49.5 percent.

By 7:30 a.m. EST the Iowa Democratic Party had yet to confirm the win and the Associated Press had yet to declare a winner. According to The Des Moines Register, one precinct remained unaccounted for.

However, Clinton staffers declared her victory in a news release early Tuesday morning.

"After thorough reporting -- and analysis -- of results, there is no uncertainty and Secretary Clinton has clearly won the most national and state delegates," Hillary for America's Iowa State Director Matt Paul said. "Statistically there is no outstanding information that could change the results and no way that Sen. Sanders can overcome Secretary Clinton's advantage."

The race was so close that some Iowa precincts reportedly chose their winner by tossing a coin.

As the votes were being tallied, former Maryland Gov. Martin O'Malley announced he would suspend his bid for the White House.

The race was much clearer for Republicans. Texas Sen. Ted Cruz came out on top with 27.7 percent of the vote, with business mogul Donald Trump getting 24.3 percent of the vote and Florida Sen. Marco Rubio taking 23.1 percent.

Former Arkansas Gov. Mike Huckabee also announced he would suspend his campaign.