The man accused of killing a Black Lives Matter activist on a New Orleans street last year pleaded guilty to manslaughter on Monday under an agreement that will see him sentenced to 17 years in prison.

Roosevelt Iglus, 27, accepted a plea agreement from New Orleans prosecutors in front of Orleans Parish Criminal District Court Judge Darryl Derbigny.

The judge delayed Iglus' formal sentencing until Tuesday so that the family of victim Muhiyidin Elamin Moye, an activist from South Carolina, can deliver a courtroom statement.

If convicted of second-degree murder, the charge he was facing, Iglus would have faced life imprisonment. In addition to manslaughter, he pleaded guilty to obstruction of justice and possession of a firearm by a felon.

Investigators said Iglus killed the 32-year-old Moye, who preferred to be called Muhiyidin d’Baha, in the 1900 block of Bienville Street early on Feb. 6, 2018.

Using surveillance video recovered from the area, police concluded that Moye, who was visiting New Orleans, was bicycling down the street when someone tried to knock him off his bike. Moye kept pedaling away but the attacker pulled out a gun and fired several times, killing him.

Man arrested in New Orleans killing of prominent Black Lives Matter activist Muhiyidyn Moye New Orleans police have arrested a man in connection with the fatal shooting of a prominent Black Lives Matter activist in February.

Police said a tipster identified Iglus as the shooter. Law enforcement suspected that the killing was a case of mistaken identity.

Iglus was on probation for drug and gun charges at the time of the shooting. He will receive credit for time served since his July 2018 arrest.

Iglus' defense attorney, Keith Couture, said that accepting the plea deal was a difficult decision for his client. "The case rested almost entirely on one witness. However, there's always a risk in going to trial," Couture said.

Moye gained national attention when he jumped over police tape and attempted to wrest a Confederate battle flag away from a demonstrator in Charleston, South Carolina, in 2017. At a vigil in Charleston earlier this year, Moye was praised for his passionate advocacy.

"He was such a bright light,” said his sister, Kimberli Kennedy-Duncan, according to WCSC-TV. "We never thought it would end like this."