Two weeks after Election Day, Donald Trump has won Michigan, the Detroit Free Press declared Wednesday night.

The Michigan secretary of state on Wednesday posted vote counts certified at the county level from the contest that was too close to call since people voted on Nov. 8, and showed President-elect Trump ahead of Democratic rival Hillary Clinton by 10,704 votes. That was less than his 13,107 vote lead that was initially recorded.

"Many people have asked about Michigan's process for counting ballots and certifying election results. Please be aware that all 1,521 Michigan cities and townships completed ballot counting and reported unofficial results by the morning of Wednesday, Nov. 9," according to a statement on the secretary of state's website. "The county canvassing boards, as they do after every election, then began their work to review and certify the results from each precinct."

Trump received a total of 2,279,543 votes, while Clinton got 2,268,839, according to the Michigan Board of State Canvassers' unofficial count. Behind the two front-runners were Libertarian Gary Johnson at 172,136 votes and the Green Party's Jill Stein at 51,463 votes.

The vote will not be official until it is certified by the state's board of Canvassers on Nov. 28, and with it finalized Trump will have 306 electoral votes to Clinton's 232.

Michigan hasn't voted for a Republican president since 1988 when George H.W. Bush beat Michael Dukakis. It was the final undecided state remaining following this year's Nov. 8 election.

Reports this week revealed that the Clinton campaign had been advised to push for recounts in three swing states, including Michigan, along with Wisconsin and Pennsylvania, that could potentially overturn the result of the election.

In a conference call last week with Clinton's campaign chairman John Podesta, the group said it found evidence to suggest that electronic voting machines in some counties in Wisconsin, Michigan and Pennsylvania may have been manipulated or hacked. Included in the group were voting-rights attorney John Bonifaz and J. Alex Halderman, the director of the University of Michigan Center for Computer Security and Society.

A source who was briefed on the call told New York Magazine, that the academics said that in Wisconsin in particular, counties that used electronic voting machines showed that Clinton received 7 percent fewer votes compared to those that used optical scanners and paper ballots, perhaps because the machines were tampered with.

The academics had no proof the machines were hacked. Still, they are suggesting that a potential problem may have cost Clinton up to 30,000 votes, which would more than make up the 27,000 votes she lost the state by, and pressed the Clinton campaign to ask for a recount in these states.

Stein too is seeking a recount in Wisconsin, Michigan and Pennsylvania. The Green Party presidential nominee asked her supporters Wednesday to donate money to pay for recounts in the three states, and as of early Thursday morning, she reached her goal of $2 million for a recount in Wisconsin.

Overturning the 20 electoral votes in Pennsylvania, 10 in Wisconsin and 16 from Michigan, would hand Clinton a 278-260 electoral vote advantage.

But time is short for there actually to be a recount in these states. The deadline in Wisconsin is Friday, while the cutoffs in Michigan and Pennsylvania are next week.

Clinton leads the popular vote nationwide by over 2 million votes.

CORRECTION: An earlier version of this story misidentified the presidential candidate who won Michigan in 1988. The Washington Examiner regrets the error.