gianforte apology
PHOTO: POOL
gianforte apology
Now playing
01:29
Gianforte: 'I made a mistake, I'm sorry'
MISSOULA, MT - MAY 24:  Republican congressional candidate Greg Gianforte talks with supporters during a campaign meet and greet at Lambros Real Estate on May 24, 2017 in Missoula, Montana.  Greg Gianforte is campaigning throughout Montana ahead of a May 25 special election to fill Montana
PHOTO: Justin Sullivan/Getty Images North America
MISSOULA, MT - MAY 24: Republican congressional candidate Greg Gianforte talks with supporters during a campaign meet and greet at Lambros Real Estate on May 24, 2017 in Missoula, Montana. Greg Gianforte is campaigning throughout Montana ahead of a May 25 special election to fill Montana's single congressional seat. Gianforte is in a tight race against democrat Rob Quist. (Photo by Justin Sullivan/Getty Images)
Now playing
02:02
Candidate charged with assaulting reporter
ben jacobs ctn
PHOTO: CNN
ben jacobs ctn
Now playing
01:59
Jacobs: Gianforte statement worse than assault
jack kingston ctn
PHOTO: CNN
jack kingston ctn
Now playing
03:30
Ex-congressman defends Gianforte, panel erupts
GREAT FALLS, MT - MAY 23:  Republican congressional candidate Greg Gianforte speaks to supporters during a campaign meet and greet at Lions Park on May 23, 2017 in Great Falls, Montana.  Greg Gianforte is campaigning throughout Montana ahead of a May 25 special election to fill Montana
PHOTO: Justin Sullivan/Getty Images
GREAT FALLS, MT - MAY 23: Republican congressional candidate Greg Gianforte speaks to supporters during a campaign meet and greet at Lions Park on May 23, 2017 in Great Falls, Montana. Greg Gianforte is campaigning throughout Montana ahead of a May 25 special election to fill Montana's single congressional seat. Gianforte is in a tight race against democrat Rob Quist. (Photo by Justin Sullivan/Getty Images)
Now playing
01:47
Source: GOP candidate 'body slammed' reporter
Paul Ryan
PHOTO: CNN
Paul Ryan
Now playing
00:49
Paul Ryan responds to Gianforte's altercation
Witness to GOP reporter assault
PHOTO: CNN
Witness to GOP reporter assault
Now playing
01:35
Altercation witness: I saw feet flying in air
PHOTO: Getty Images
Now playing
01:14
Reporter: Strangest moment in my career
PHOTO: CNN
Now playing
02:10
Lemon: Trump to blame for attacks on press
Democratic candidate Rob Quist greets voters in Missoula, MT at campaign event on the University of Montana campus on April 27, 2017.
PHOTO: Sara Weisfeldt/CNN
Democratic candidate Rob Quist greets voters in Missoula, MT at campaign event on the University of Montana campus on April 27, 2017.
Now playing
02:57
Cowboy battles businessman for House seat
greg gianforte montana house race_00000000.jpg
greg gianforte montana house race_00000000.jpg
Now playing
01:26
Montana GOP candidate on why he's running

Story highlights

The incident took place the night before Montana's congressional election

Greg Gianforte pleaded guilty to misdemeanor assault

(CNN) —  

Greg Gianforte, the Montana congressman-elect who was accused of “body slamming” a reporter, pleaded guilty to misdemeanor assault Monday morning.

Judge Rick West sentenced Gianforte to a 180-day deferred sentence, 40 hours of community service, 20 hours of anger management and a $300 fine along with a $85 court fee.

West originally sentenced Gianforte to a four days of jail time, to be completed in part through a work program, but switched instead to the hours of community service and anger management as those guilty of assault charges are ineligible for the work program.

A misdemeanor assault conviction in Montana carries a maximum penalty of up to six months in jail and a fine of up to $500, according to the state government website.

Gianforte has apologized to the journalist, Ben Jacobs, and also pledged to donate $50,000 to the Committee to Protect Journalists, an organization that promotes press freedom, “in the hope that perhaps some good can come of these events.”

The encounter happened on May 24, when Gianforte was charged with misdemeanor assault after Jacobs accused the politician of “body slamming” him at a campaign event.

Gianforte, a Republican, won the election the next day and apologized to the reporter during his acceptance speech.

He also issued a letter to Jacobs last week.

“My physical response to your legitimate question was unprofessional, unacceptable, and unlawful,” Gianforte said in the letter.

“I made a mistake and humbly ask for your forgiveness.”

Jacobs accepted the apology.

Jacobs was present and made a statement in the courtroom. Gianforte later asked if he could address Jacobs directly and apologized again.

“I just want to say I’m sorry and if and when you’re ready, I look forward to sitting down with you in DC,” he said.

During their encounter at Gianforte’s campaign headquarters in Bozeman last month, Jacobs had been asking the then-candidate about the Republican health care plan when the assault took place.

Gianforte’s campaign initially blamed the altercation on Jacobs’ “aggressive behavior” and offered a version of events at odds with an audio recording and witness accounts.

In his letter, Gianforte stated: “I had no right to respond the way did to your legitimate question about health care policy. You were doing your job.”

Throughout the proceedings, Rich said he was trying to give Gianforte the same sentence he would give anyone who plead guilty to attacking someone unprovoked.

CNN’s Tony Marco, Madison Park and Monte Plott contributed to this report.