4:30 PM PT -- That was quick. Farsi's struck a deal ... pleading no contest to ONE count of battery. The 2nd count was dropped and he was sentenced to 3 years probation, 52 psych counseling sessions, and 20 days of highway cleanup duty. He must stay 500 yards away from Jimmy Kimmel's studio and all other Hollywood events -- and Adam Levine is also off limits.
The City Attorney also threw in a protective order for Dwayne "The Rock" Johnson since Farsi allegedly tossed a rock (clever) at him last month. Adam Levine wasn't the only victim when that guy blasted him with a bag full of powdered sugar -- and as a result the attacker's been hit with 2 counts of battery ... TMZ has learned.
Navid Farsi was officially charged for covering the Maroon 5 singer's face in confectioner's sugar as he was about to perform on "Jimmy Kimmel Live" earlier this week.
The L.A. City Attorney hit Farsi with a second battery charge because a security guard also got doused in sugar -- although he didn't get the full facial like Adam did.
Farsi is being held on $20,000 bail.