Shastra Sagar, a 14-year-old at the block party, was injured in the incident when Dube shot him in the chest. Sagar was taken to Jamaica Hospital after the shooting and was released a few hours later.
Dube was a high school sophomore at the time of the shootings. He pleaded guilty to first-degree manslaughter before Queens Supreme Court Justice Randall Eng on May 7. Eng sentenced the teen to 24 years in prison on Monday.
"While today's sentencing closes the book on the criminal prosecution, it doesn't eradicate the harm and suffering that the defendant's senseless actions inflicted on the victims and their families," Brown said in a statement. "I hope that they can take solace in knowing that justice has been done and that society will be protected from the defendant for a long time."
Brown called the shootings a "shocking example of mindless gun-related violence" when they first occurred, and charged Dube with murder and attempted murder charges before reaching a plea deal on the manslaughter charge.
Dube said at his arraignment that the two victims were looking at him and talking, which led him to believe they were planning to hurt him so he went to get a gun and went back to the party, according to The New York Times.
Dube would have faced between 25 years to life in prison if he was convicted of the murder and attempted murder charges.