Thomas Smith won Michigan's 8th District GOP primary on Tuesday — even though he had suspended his campaign in mid-July. Even more surprisingly: He defeated a Trump-endorsed candidate.

The race has not yet been called by the Associated Press, but 99% of the ballots have been counted and the Trump-endorsed candidate is trailing by more than 17 points.

Thomas J Smith, the other Republican running in Michigan’s 8th congressional district, dropped out of the race last month but remained on the ballot