Rapper Bobby Shmurda, whose birth name is Ackquille Pollard, right, confers with his lawyer Alex Spiro in a Manhattan court on Wednesday Oct. 19, 2016, in New York.

Rapper Bobby Shmurda, whose birth name is Ackquille Pollard, in a Manhattan court on Wednesday Oct. 19, 2016, in New York.

*Bobby Shmurda was officially sentenced to seven years in prison in Manhattan Supreme Court on Wednesday (Oct. 19), but he didn’t appear to be 100 percent on board with the decision.

“I was forced to take this sentence, I did not want to take this sentence,” Shmurda told the court this morning, according to Billboard. “I was forced by my attorney to take this plea.”

The sentence comes five weeks after he accepted a deal to plead guilty to 4th-degree conspiracy to criminally possess a weapon and 2nd-degree criminal weapons possession, which concurrently carry a seven-year sentence.

The sentence brings to a close the long-running legal battle that has enveloped the Brooklyn rapper since his Dec. 17, 2014 arrest at Manhattan’s Quad Studios alongside a dozen others. Shmurda and others said to be in a gang called GS9 were hit with a wide-ranging indictment that included weapons, drugs and assault charges, which rose to murder and attempted murder for several defendants.

The rapper, born Ackquille Pollard, appeared alone at the court hearing this morning, apart from his co-defendants Chad “Rowdy Rebel” Marshall and Nicholas McCoy.

With his sentencing today and time served, Shmurda could be released around October of 2021. As part of accepting the plea deal, he waived his right to appeal.

Rapper Bobby Shmurda, whose birth name is Ackquille Pollard, right, confers with his lawyer Alex Spiro in a Manhattan court on Wednesday Oct. 19, 2016, in New York.

Rapper Bobby Shmurda, whose birth name is Ackquille Pollard, right, confers with his lawyer Alex Spiro in a Manhattan court on Wednesday Oct. 19, 2016, in New York.

According to Billboard, the sentencing appeared to go against what Shmurda had expected would happen today:

On Sept. 9, days before jury selection for his trial was scheduled to begin and almost two years since the arrest, Shmurda accepted the prosecution’s “global plea deal,” which reduced his, Rowdy’s and McCoy’s maximum possible sentences from 15 years. A further five years of post-release supervision is also part of the deal.

But in court today, Shmurda appeared upset, at one point saying, “They lied to me” as Judge Abraham Clott denied a request for adjournment. The rapper’s lawyer, Alex Spiro, had asked for a delay on official sentencing, citing that Shmurda had not been interviewed prior to sentencing because on the scheduled date the jail was on lockdown, and also citing comments made to the media recently of which he had only recently become aware.

Shmurda was held on $2 million bond that prevented his record label, Epic Records, from being able to bail him out. Speaking with Complex after accepting the plea deal, which came as a surprise after so many delays and hearings, Shmurda again pointed the finger at the court system.

“If we made bail, I would’ve beat the case,” he said. “We look guilty in these orange jump suits. If you put Al Sharpton in a orange jumpsuit and accuse him of having a gun, he’s going to be found guilty. They just look at our skin color, and look at where we’re from. I didn’t get caught with anything on me and the cops lied, saying they seen me with a gun in my hand. I explained the whole situation to Epic and they were behind me all the way. We had big-money lawyers and they still couldn’t do nothing because of the judge, who looked at us like black thugs.”

He also explained why he accepted the deal at all. “I did it for Rowdy. They offered me five [years] and offered Rowdy 12,” the rapper said, explaining the terms of the prosecution’s global plea deal, which was contingent on all three (Rowdy, Shmurda and McCoy) accepting the same offer. “They said the only way they’ll give him seven is if I took seven, too. So, you know, I had to take one for the dawgs.”

Addressing those complaints made in the media, Spiro said they were fair and in line with his long-held concerns about the case’s location being moved from Brooklyn to Manhattan; about what he saw as an excessively high bail; and that Shmurda, as part of a wider conspiracy arrest, had been over-charged. Many of the original charges against Shmurda were dismissed as part of the plea deal.

“My client is clearly frustrated,” Spiro told the court, and said about the comments in the media, “I can’t fault him for those. I understand why my client is frustrated.”