Tekashi 6ix9ine has been sentenced to two years in prison for crimes he carried out while he was a member of a violent gang, according to US media.
The rapper, whose real name is Daniel Hernandez, pleaded guilty to racketeering and other offences.
He initially denied the charges but entered a plea bargain giving evidence against other gang members in order to get a reduced sentence.
It’s thought the 13 months he’s spent in jail already, will be included.
The rapper had been facing a minimum of 47 years and a maximum of life in prison but the plea bargain means he could be released in 2020.
He testified against former members of Nine Trey Gangsta Bloods.
The offences 6ix9ine was charged with include racketeering, carrying a firearm, assault with a dangerous weapon, and conspiracy murder charges.
Racketeering is when people use criminal actions to repeatedly take money from others, and most likely associated with protection rackets.
It all came from his association with a violent US gang Nine Trey Gansta Bloods – also known as TreyWay – which 6ix9ine previously mentioned on Twitter.
He joined the gang in 2017 but left less than a year later.
The inner workings of the gang was exposed by 6ix9ine – and another ex-gang member, Kristian Cruz.
Nine Trey Bloods committed robberies, dealt drugs and were violent against rivals and each other according to their testimonies.
6ix9ine gave information on Anthony Ellison and Aljermiah Mack and both men have since been convicted.
Ellison was also found guilty of kidnapping 6ix9ine, maiming and assault – while Mack was also found guilty on drug dealing charges.