Nearly 30 years after David McCallum was convicted of murder at age 17 on the strength of a confession he said was beaten out of him—and no other evidence tied him to the crime—he walked out of a Brooklyn courthouse Wednesday as a free man.

Over the past 10 months, the Brooklyn District Attorney Kenneth Thompson’s Conviction Review Unit re-examined the case.