Editor's note: -- The accompanying video to this news story contains graphic language, violence that readers might find disturbing and offensive.

A Gretna man pleaded guilty Wednesday to manslaughter and several drug-related charges in the 2011 shooting death of a Terrytown teenager.

The victim, Michael Taylor, had become known locally after a viral online video showed him a year before his death being beaten by his uncle, who accused him of flirting with gang life.

Jeremy C. Julien, 24, will spend 40 years in jail, minus time served, after his plea before Judge Henry Sullivan in 24th Judicial District Court in Gretna.

Julien was sentenced to 30 years on the manslaughter charge, 40 years with no chance for probation or a suspended sentence for two counts of possession of heroin with intent to distribute, 10 years for being a felon with a weapon, five years for possession of hydrocodone and six months for possession of marijuana and resisting arrest.

The sentences will run concurrently.

Taylor was 16 when he was shot on Dec. 7, 2011, in front of his home in the 600 block of Deerfield Road in Terrytown.

His mother, Kimberly Ward, said he had just received a text message and said he was going outside to talk to some friends, according to news reports at the time of Julien’s arrest.

A year earlier, a video of Taylor getting whipped by his uncle with a belt was posted on the Internet and spread quickly. In the video, Lamoine Ward yells at his nephew for glorifying gang culture on Facebook and has him tell the camera that his online boasts were fake.

Shortly after his murder, Kimberly Ward told WDSU-TV that the notoriety Taylor received from the video led to teasing and bullying. Lamoine Ward said he was only trying to protect the boy from the dangers of gang life.

The two described Taylor as a nice, kind-hearted teenager who was being pulled in the wrong direction by peer pressure.