xonPicture: Vanessa Gathers, 58, with Ken Thompson, the Brooklyn district attorney, after her manslaughter conviction was vacated on Tuesday. Credit Andrew Kelly for The New York Times        

In a gray suit, her short hair neatly curled, Vanessa Gathers sat in State Supreme Court in Brooklyn on Tuesday, beaming as the judge spoke words she had waited nearly two decades to hear: The manslaughter conviction for which she had spent 10 years in prison was vacated, the judge said, after an investigation revealed that her confession to the crime was false.

Ms. Gathers, 58, is the first woman to have been exonerated by the Conviction Review Unit, a special unit created by the Brooklyn district attorney to look into scores of cases linked to Louis Scarcella, a retired detective whose tactics led to the wrongful convictions of more than a dozen people, according to the district attorney’s office. The unit is examining 100 cases, many of them involving Mr. Scarcella.

Mark Hale, an assistant district attorney, told the judge that an investigation into Ms. Gathers’s case had determined that she had been wrongfully convicted and that her confession had been coaxed, fed to her by Mr. Scarcella.

“We have grave doubts and, in fact, do not believe that it was true,” Mr. Hale said.

After the hearing, the Brooklyn district attorney, Ken Thompson, spoke outside the courtroom. “These wrongful convictions represent a systemic failure, a failure by prosecutors, defense attorneys, by judges, by the system,” he said. “These wrongful convictions destroy lives, and no matter what happens, Ms. Gathers will not get back those 10 years.”

Read more: Woman Exonerated After Serving 10 Years for Manslaughter Conviction