Media playback is unsupported on your device Media caption The Maryland trio walk free after 36 years

Three men falsely convicted of murder in the US state of Maryland have been set free after 36 years in prison.

Alfred Chestnut, Andrew Stewart and Ransom Watkins had been sentenced to life in 1984 for killing a 14-year-old boy a year earlier.

They were freed in Baltimore on Monday after a judge cleared their convictions following a review of their case.

The case was reopened this year after Mr Chestnut sent a letter to Baltimore's Conviction Integrity Unit.

He included evidence he had uncovered last year.

Mr Chestnut, Mr Stewart and Mr Watkins were arrested as teenagers in November 1983 following the death of DeWitt Duckett, who was shot in the neck on his way to class at a Baltimore junior high school and had his Georgetown University jacket stolen.

DeWitt's death received widespread press coverage. It was the first fatal shooting of a student in a Baltimore public school.

"These three men were convicted, as children, because of police and prosecutorial misconduct," Baltimore state attorney Marilyn Mosby said after the men were released.

In a statement, her office said "detectives targeted the three men, all 16-year-old black boys, using coaching and coercion of other teenage witnesses to make their case".

Image copyright AFP Image caption Alfred Chestnut embraced his mother following his release

Prosecutors said during the initial investigation police ignored and withheld reports from multiple witnesses identifying another person as the killer, and that trial witnesses failed to identify the three teenagers in photo line-ups.

All trial witness have now recanted evidence, Ms Mosby said.

"I don't think that today is a victory, it's a tragedy. And we need to own up to our responsibility for it," she said.

The other suspect died in 2002.

Case documents had been sealed by a judge, but Mr Chestnut obtained them last year with a public records request.

At a press conference, Mr Watkins said "this should never have happened".

"This fight is not over," he said. "You all will hear from us again."

Ms Mosby also announced the launch of a new programme - Resurrection After Exoneration - to provide services to help exonerated people reintegrate into society, including support for education and mental and physical health.

She said the state of Maryland did not have legislation that guided compensation for those falsely convicted of a crime, and that she would work to change that.

Currently, the Board of Public Works has the authority to direct compensation.

In October, the board awarded about $9m (£7m) in payments to five men who were wrongfully imprisoned for decades. Walter Lomax - who served 38 years for murder - received about $3m, the largest payout ever made by the state for a wrongful conviction.

Overturned US convictions

The Central Park Five were teenagers convicted of the rape and attempted murder of a New York City jogger in a highly publicised 1989 case. They served 6-13 years in prison before their release, and later were awarded nearly $45m in compensation

Ricky Jackson received a death sentence and served 39 years in Ohio prisons until 2017, when a witness recanted, saying police had pressured him. Mr Jackson served the longest-ever sentence for any US death row prisoner who was eventually exonerated

Robert Jones was released in 2015 after serving 23 years in New Orleans for crimes including killing a British tourist, when another man was proven to have committed the crime

Media playback is unsupported on your device Media caption Louisiana man Robert Jones is freed after being wrongfully convicted of shooting dead a British tourist