The Indiana Recount Commission on Monday flipped a Republican primary race in favor of a President Donald Trump-endorsed challenger over a state senator who opposed Indiana congressional redistricting.

The commission’s decisions on challenged ballots turned what had been a three-vote lead for Sen. Spencer Deery of West Lafayette into a three-vote margin for challenger Paula Copenhaver.

The new certified totals from the May primary now give Copenhaver 6,332 votes to Deery’s 6,329.

The commission threw out eight votes for Deery and two for Copenhaver — all largely for technical reasons over missing signatures or initials from county election officials on absentee ballots.

Deery’s attorney said she planned a quick appeal to the state Court of Appeals.

Voter subpoenas denied in recount of narrow Indiana Senate Republican primary

“This is unprecedented,” attorney Samantha DeWester said after the commission’s vote. “Ballots don’t get tossed for a signature missing from a clerk. It’s now going to set the tone going forward for people that are losers of elections that want to overturn them on technicality stuff. I mean, they just disenfranchised a bunch of voters.”

The Deery-Copenhaver race is the last one undecided from the Republican primary in which Trump-endorsed challengers defeated six of the seven other incumbent senators targeted by the president in retaliation for their votes against redistricting.

Copenhaver, the Fountain County Republican chair and staffer to Lt. Gov. Micah Beckwith, said she was confident her primary victory would stand.

“I think there was a mandate throughout the whole state regarding the redistricting, and what I have found is that a lot of people are afraid to vocalize their position,” Copenhaver said. “They don’t speak up for fear of retribution. I’m not afraid.”

The Deery-Copenhaver winner will face Democratic West Lafayette City Councilman David Sanders and independent candidate Joshua Brant in the November election for the heavily Republican district, which spans all or parts of six counties in the area between Lafayette and Terre Haute.

This story will be updated.

SUBSCRIBE: GET THE MORNING HEADLINES DELIVERED TO YOUR INBOX.