After being arrested on drug charges in August, Big Boi has reached a deal with Florida courts that will allow him to avoid jail time.

According to Billboard, the rapper and producer, born Antwan Patton, appeared in a Miami courtroom on Thursday, where he worked out a deal with prosecutors that includes three months of drug testing, community service and $2,000 worth of donations to various charities.

On Aug. 7, the ‘Shutterbug’ rapper was arrested on three counts of possession of a controlled substance and one count of possession of drug paraphernalia. The 36-year-old was allegedly caught with MDMA, ecstasy and a cigarette roller with marijuana residue, while de-boarding a cruise ship. Big Boi was facing two felony drug charges, however, if he remains drug-free after three months of testing, prosecutors say they will dismiss the charges.

The rapper has won six Grammys with OutKast and recorded six platinum-plus albums with the group. Big Boi released his solo debut, 'Sir Lucious Left Foot: The Son of Chico Dusty,' in 2010, and is expected to unveil his sophomore album, 'Daddy Fat Sax: Soul Funk Crusader,' this year.

"I’m 17 songs into it now, everything is sounding phenomenal," he said of his upcoming release. "I could put it out tomorrow if I wanted to, but I’mma marinate on it because I’m on the road. I feel good about it, all the music’s sounding great ... I'm just really stayin' busy out here killin' it."