A Baltimore teenager pleaded guilty to murder Monday as his trial was set to begin, following a failed attempt last week to have a confession withheld from jurors in the case.

Markell Shelton Jones, 18, shot and killed Freddie Jones Jr. at the Yau Brothers Chinese carryout on Greenmount Avenue on Halloween 2011 during a bungled robbery attempt. The attack was captured on surveillance cameras and police released the footage to the press.

After Markell Jones' family recognized him on television, his grandfather called police to have him taken into custody, according to testimony at a motions hearing last week. Jones spent the night at the homicide division and confessed to the crime, detectives said in court.

Jones' attorney argued that statement had been coerced from the teenager, but a circuit court judge ruled that a jury should hear it. Robert Linthicum, Jones' public defender, declined to comment.

Two other people suspected of being involved in the incident have not been identified or charged.

Jones faces up to life in prison, suspended to 50 years, when he is sentenced on July 2.

iduncan@baltsun.com

twitter.com/iduncan