The numbers are finally in and it’s been determined that Donald Trump won the state of Michigan by 10,000 votes. 10,704 to be exact.

From the Detroit Free Press:

In the closest race for president in Michigan’s history, Republican Donald Trump is hanging on to a 10,704 vote win over Democrat Hillary Clinton.

The Michigan Secretary of State posted results Wednesday that were submitted by the state’s 83 county clerks on Tuesday after the votes were reviewed and certified by each county.

Before that compiled count, Trump held a 13,107 lead over Clinton. But after each county certified its results, the lead shrunk to 10,704, with the biggest chunk coming from Wayne County, which showed that Clinton had gotten 565 more votes than originally tallied by the county.

The state’s Board of Canvassers will officially certify the results on Nov. 28. The electoral college in all the states, including Michigan’s 16 electors, will cast their votes on Dec. 19.

Follow Kemberlee on Twitter @kemberleekaye