McGregor, who was facing a possible 12 criminal charges related to the bus incident, worked out a plea deal with the Brooklyn District Attorney’s office, and as a result he will not have a criminal record. His travel visa will not be affected either, according to ESPN.Additionally, McGregor will have to serve five days of community service and take classes on anger management.”I’m thankful for the D.A. and the judge for allowing me to move forward. I want to say to my friends, to my family, to my fans — thank you for supporting me,” McGregor said following his court appearance.McGregor last appeared in court June 14 and remained free on bail. A prosecutor had said McGregor and the District Attorney’s office were working on a potential plea deal to resolve the charges from the melee.During the UFC 223 media day session April 6, McGregor, Cian Cowley and a host of other teammates allegedly stormed the Barclays Center searching for current UFC lightweight champion Khabib Nurmagomedov. The entourage went to the loading dock area and targeted a vehicle carrying rival fighters who were scheduled to fight the following day.Various videos appear to show the group throwing large metal objects at the bus, including a barricade and dollies. McGregor eventually turned himself in to NYPD and was released on $50,000 bail.It was speculated that McGregor’s rampage was sparked by UFC president Dana White’s decision to strip him of the lightweight title. Because McGregor has been away from MMA since 2016, White decided the fight between Nurmagomedov and Max Holloway would determine the new lightweight champion.