NEW ORLEANS — A 28-year-old man has pleaded guilty in three killings and the wounding of an 8-year-old boy, and has been sentenced to 30 years in prison.

Judge Laurie White approved Isaac “Ike” Jones’ guilty plea as potential jurors waited in the hall Monday at Criminal District Court, the Orleans Parish District Attorney’s Office said in an emailed news release.

He admitted killing Jeremy Curry in August, 2012, shooting Orlando Rickmon in February 2013, and, two months later, killing Rickmon and his friend Desmond Bell as they sat on a porch and wounding Daymond Harris, 8, who was hit by stray bullets.

The February 2013 shooting occurred five days after Jones’ father was killed, spokesman Ken Daley noted in the statement.

Jones had been charged with second-degree murder of Curry, 25, first-degree murder in the deaths of Rickmon, 26, and Bell, 22, and attempted first-degree murder of Harris, who was playing with other children when gunfire erupted. Prosecutors were not planning on a death penalty trial, so conviction on the murder charges would have brought automatic life sentences.

Jones pleaded guilty to seven crimes including conspiracy to commit first-degree murder, which carries the 30-year sentence, in Rickmon’s death. White set six other sentences to run concurrently.

Those include 20 years each for manslaughter in the other two deaths, attempted first-degree murder in the boy’s wounding, and attempted second-degree murder for the shooting that Rickmon survived.

Jones also admitted shooting into the air and threatening to kill his uncle Michael Stern in an argument over his late grandmother’s house in May 2012, according to the news release. He got 5 years for aggravated assault with a firearm and 20 for illegally firing a weapon to intimidate someone during a violent crime in connection with that incident.