Navid Farsi - the prankster who pelted Adam Levine with a bag of sugar outside Jimmy Kimmel's TV studio in Los Angeles on Wednesday - has been sentenced to three years probation after pleading no contest to a battery charge. 

TMZ reported that the 28-year-old man was arrested and charged with battery after the incident involving the Maroon 5 singer and has been sentenced to "three years probation, 52 psych counseling sessions, and 20 days of highway cleanup duty."

Farsi is also expected to stay away from Levine and remain "500 yards away from Jimmy Kimmel's studio and all other Hollywood events."

Last week, while Levine tried to exit the Jimmy Kimmel studio, Farsi threw powdered sugar at him, which covered the singer's upper body.

According to eyewitness accounts, the singer was signing autographs when Farsi tossed the bag of sugar at him. Farsi also hit several other people including some members of Levine's security team

After the incident, he was tackled to the ground by security guards and apprehended until police officers arrived and arrested him. TMZ reported that after being arrested "Farsi was being held on $20,000 bail."