Kodak Black has been released from solitary confinement after being ordered to spend 30 days in an individual cell. The rapper's lawyer Bradford Cohen confirmed the news to Pitchfork.

Kodak, whose real name is Dieuson Octave, was taken away from the general population at Florida's Broward County Prison last week after making an unauthorized three-way call on a jail phone. He was allegedly trying to contact someone with whom "he was not supposed to speak," according to TMZ's report. 

"In my 21 years of practice, I've never had someone get 30 days solitary for a 3-way call," Cohen told Billboard, stating that he unsure of the other people who were on the call.​

The rapper reportedly filed documents asking for his personal tutor to be given solitary confinement visitation privileges, as he is currently working towards a GED. The judge did not rule on the request at the time. Earlier today, Kodak's Twitter account said that Chris Brown helped him with his books. "Fresh out the bing... that boy @chrisbrown just dropped 10 racks on my books, that’s love," Kodak tweeted.

Fresh out the bing... that boy @chrisbrown just dropped 10 racks on my books, that’s love.

— Kodak Black (@KodakBlack1k) March 19, 2018

Kodak currently behind bars following an arrest in January when the police raided his home. That came with multiple charges including weed and ammunition possession, child neglect, and grand theft of a firearm. Some of the charges were dismissed, but he pled not guilty to possession of a firearm, ammunition, or weapon by a delinquent and possession of cannabis over 20 grams.

Last October, the rapper was indicted for first-degree sexual assault charges in an unrelated incident that took place at a hotel in South Carolina.