Rapper Kodak Black was arrested earlier this year after a video showed him and a number of other people handling marijuana and a gun around an infant. Come September though, Black will walk out of Florida jail.
The 20-year-old rapper's attorney, Bradford Cohen, said Black, whose real name is Dieuson Octave, reached a deal with Broward County prosecutors on Tuesday.
Octave had been on house arrest in January when he was jailed on several felony charges, including child neglect and drug possession. A guest at his Pembroke Pines home live-streamed the video that got him prosecuted.
Serious felony charges were later dropped, but Octave still faced charges of associating with people involved in criminal activity and driving with a suspended license.
As part of his deal, Octave will no longer be on house arrest or probation after he leaves jail.
Octave has been in and out of jail several times since August 2016.