Jon Jones was just ordered to go back to school ... sentenced to complete an aggressive driving course as part of his punishment from his alleged drag racing incident in New Mexico.
As we previously reported, Jones was pulled over on March 24 in Albuquerque after an officer says the UFC superstar was drag racing on his way home from an MMA gym.
Jon called BS on the cop -- and began to cuss him out ... calling the officer a "f***ing pig" and a "liar."
Jones was issued several citations for unlawful drag racing, unlawful exhibition driving, unlawful use of modification of exhaust systems, failure to maintain traffic lane and improper display of registration plate.
But moments ago, Jones agreed to a deal with prosecutors -- pleading guilty to just unlawful use of modification of exhaust systems and improper display of registration plate.
In exchange he was ordered to complete 60 hours of community service and complete an aggressive driving course.
If he does not complete his terms, he faces up to 90 days in jail.
The good news for Jon ... he already has 51 hours of community service completed and a rep for the UFC star says he already knocked out the driving course!
For the mathematically challenged ... Jon has 9 to go -- and given his rate of community service, he should be done by the end of the weekend.