Ja Rule smiles and gestures as he leaves court in New York, Monday, Dec. 13, 2010.

*He’s due back in court for sentencing in February, but Ja Rule has reportedly struck a plea deal with prosecutors that will see him do two years in prison after pleading guilty in his gun case, reports MTV.

The charges stem from a gun bust in July 2007, when both Ja and Lil Wayne were arrested separately following a concert performance.

The Murder Inc. star pleaded guilty to attempted criminal possession of a weapon, a class D felony in the second degree.

“Minor setback for a major comeback,” Ja tweeted after reaching the deal.

Ja Rule is expected to be sentenced in February, following a court appearance that same month to report his progress to the judge.