The hip-hop newcomer, real name Ackquille Pollard, has been locked up since December, 2014, following his arrest during a police sting operation in Manhattan.

He was charged with counts of conspiracy to commit murder, reckless endangerment, criminal possession of a weapon and more, and, after a series of delays, jury selection in the case was due to begin on Monday (12Sep16).

However, the trial will no longer be going ahead after Shmurda, who was repeatedly denied bail, struck a deal with authorities on Friday (09Sep16) and pleaded guilty to conspiracy to possess weapons and possession of a weapon, in exchange for having his other counts dismissed, reports TMZ.com.

He will be sentenced to seven years in prison, but he will be granted time served. He will then spend five years on probation.

Prosecutors maintained Shmurda was the mastermind behind the GS9 street gang, which they claim was responsible for a number of shootings in his native Brooklyn.

The 22-year-old had previously dismissed a plea deal which would have landed him eight years in prison in 2015. He faced 25 years to life behind bars if convicted at trial.

Shmurda was just one of more than 15 people arrested and charged during the 2014 bust. Other defendants were slapped with various crimes, including murder, attempted murder and drug dealing.