Conor McGregor
via Andrius Petrucenia / CC BY 2.0

After being arrested in April for attacking a bus at Barclays Center promoting UFC 223, Conor McGregor pleaded guilty as part of a plea deal and got no jail time.

According to ESPN, he pleaded guilty to a single violation of disorderly conduct in Brooklyn criminal court Thursday (July 26) in a plea deal that involves no jail time.

The ruling will not affect McGregor’s travel visa, and he will not have a criminal record. And finally, he has to pay full restitution to the bus company for any damages suffered, which McGregor already has fulfilled, five days of community service and an anger management program lasting one to three days.

“I just want to say I’m thankful to the DA and the judge for allowing me to move forward,” McGregor said in a statement outside the courthouse. “I want to say to my friends, my family, my fans — thank you for your support.”

Prior to Thursday, McGregor faced a possible 12 criminal charges in the incident, including two felony criminal mischief charges. He had faced seven years in prison.

During the incident in April, McGregor was seen on video throwing a metal dolly into the window of a bus stationed inside the Barclays Center loading dock. The bus was carrying a group of UFC athletes and employees. Two fighters, Ray Borg and Michael Chiesa, were reportedly injured. Orders of protection were given to both men.

What’s next for McGregor in his fight career? There’s talk of a potential lightweight title fight between with current champion Khabib Nurmagomedov (26-0), which could be the biggest fight in UFC history. Nurmagomedov was on the bus that McGregor attacked and the target.

McGregor has not fought in UFC since November 2016.