The leader of a white nationalist group, who is accused of physically harassing a woman during a March rally in Louisville for Donald Trump, pleaded guilty in court Wednesday.

Matthew Heimbach, 26, pleaded guilty to an amended charge of second-degree disorderly conduct. Heimbach was ordered to have no contact with the victim in the case and attend anger management classes, court records show.

He was also fined $145 fine and sentenced to 90 days of jail time, but District Court Judge Stephanie Pearce Burkewaved jail time on the condition he not re-offend within two years.

He was originally charged with harassment with physical contact, a misdemeanor.

Read this:White nationalist has 'no regrets,' pleads not guilty to harassment at Trump rally

Heimbach entered an Alford plea, which allows the defendant to plead guilty while maintaining their innocence and acknowledging prosecutors had sufficient evidence to convince a jury.

Heimbach, chairman of the Traditionalist Worker Party, was served with a criminal summons by the Pikeville Police Department on April 29.

Heimbach screamed and yelled at Trump protester Kashiya Nwanguma and pushed her repeatedly to make her leave the Kentucky International Convention Center where the Trump rally was taking place, according to the summons.

Part of their interaction was captured on video, which went viral last year.

"It seems pretty clear to me based on the other rallies and the rallies afterward that Mr. Trump had an expectation of deputizing the crowd to be able to help provide security as these disruptions were happening where there was violence against Trump supporters," Heimbach said at a hearing in June.

Hate groups: These are the 23 groups operate in Kentucky

At that hearing, Heimbach said he had "no regrets" about his actions and pleaded not guilty to the charge.

"Given that Mr. Trump has now bombed Syria and has betrayed a lot of his campaign promises, I wish I had never been there to support him in the first place," Heimbach said following the hearing in June. "But when it comes to the conduct of that day, no regrets."

Reporter Matthew Glowicki contributed to this report. Reach Reporter Thomas Novelly at 502-582-4455 or by email at tnovelly@courier-journal.com. Follow him on Twitter @TomNovelly.