Joel Fowler wore his green, prison-issued clothes for the last time on Tuesday.

Standing in a Brooklyn courtroom, Mr. Fowler became the latest person to be freed from prison after questions surfaced about the integrity of a case brought by the Brooklyn district attorney’s office.

Mr. Fowler, 25, was barely 18 in 2008 when he was arrested and charged with second-degree murder in the death of 24-year-old Duane Smith in Flatbush the previous year. After being convicted, he was sentenced in 2009 to 25 years to life in prison.

On Tuesday, he listened as Mark Hale, chief of the district attorney’s office’s Conviction Review Unit, described in State Supreme Court the “multifaceted confluence of issues” that led to the wrongful conviction of Mr. Fowler, including ineffective counsel, an unreliable witness and a false confession from a frightened Mr. Fowler.

“This confluence in which the jury’s fact-finding process regarding this case was so corrupted,” Mr. Hale said, “that we cannot have any confidence in their verdict.”