BOZEMAN, Mont. (AP) — Thursday’s nationally-watched election for Montana’s sole congressional seat got a last-minute twist when the Republican candidate, Greg Gianforte, was charged with misdemeanor assault for grabbing a reporter by the neck and throwing him to the ground.

Gallatin County Sheriff Brian Gootkin made the announcement shortly before midnight Wednesday in a written statement, about six hours after the attack on reporter Ben Jacobs of The Guardian. Gianforte would face a maximum $500 fine or 6 months in jail if convicted. The statement added that Jacobs’ injuries did not meet the legal definition of felony assault.

Gianforte was in a private office preparing for an interview with Fox News when Jacobs came in without permission, campaign spokesman Shane Scanlon said.

The Fox News crew watched in astonishment as, after Jacobs pressed him on the GOP health care bill, “Gianforte grabbed Jacobs by the neck with both hands and slammed him into the ground behind him,” Fox News reporter Alicia Acuna wrote in an article . She added that Gianforte then began to punch Jacobs.

In an audio recording posted by the Guardian, the reporter asks the congressional candidate about the GOP’s health care bill, which was just evaluated hours earlier by the Congressional Budget Office.

“We’ll talk to you about that later,” Gianforte says on the recording, referring Jacobs to a spokesman.

When Jacobs says that there won’t be time, Gianforte says “Just--” and there is a crashing sound. Gianforte yells, “The last guy who came here did the same thing,” and a shaken-sounded Jacobs tells the candidate he just body-slammed him.

“Get the hell out of here,” Gianforte says.

The incident is a last-minute curveball in Thursday’s race, which was partly seen as a referendum on Donald Trump’s presidency. The majority of voters were expected to have already cast ballots through early voting, and it was unclear how much of an effect the assault charge would have on the election results.

Gianforte and Democrat Rob Quist, who declined to comment, are seeking to fill the state’s seat in the U.S. House left vacant when Ryan Zinke resigned to join Trump’s Cabinet as secretary of the Interior Department.