Bobby Shmurda has finally thrown in the towel and has accepted a plea deal that will sit him behind bars for 7 years.

On Friday, the 22-year-old rapper, born Ackquille Jean Pollard, pleaded guilty to conspiracy and weapons possession charges before his trial was set to begin on Monday (Sept. 12).

Via Page Six:

Shmurda, 22, has been cooling his heels in jail for the past two years in lieu of a $2 million bond.

His attorney Alex Spiro estimated the rising musician will be out in about 3 1/2 years and “resume his remarkable career.”

He and his two pals Chad Marshall and Nicholas McCoy were busted in December 2014 in connection with a drug and firearm rings, several shootings and the murder of a 19-year-old rival, court papers said.

That year, Shmurda’s hit single “Hot Boy” rose to No. 6 on the US Billboard Hot 100 charts.

Welp. The last thing Bobby wants to be in jail is a “hot n***a.”

Your thoughts?