Conor McGregor is all clear to resume his fighting career, after agreeing to a plea deal today in a Brooklyn court.

McGregor was facing charges of three counts of assault and one count of criminal mischief, following a highly publicized incident at the media day for UFC 223 in April. But, according to reports, the star plead guilty to one count of disorderly conduct today, and all other charges were dropped.

The former champ will have to do five days of community service, 1-3 days of an anger management course, and he will also be required to pay restitution for the damages the bus incurred, during the aforementioned incident.

The plea deal will not impact McGregor’s visa and he will not have a criminal record. So, the UFC can now move forward with plans for the fighter’s next bout.

McGregor hasn’t fought in the Octagon since November, 2016, when he stopped Eddie Alvarez.