A man who claims a retired Chicago detective beat him into a false murder confession is expected to have his 1998 conviction tossed later today.

The man’s attorney said he planned to call retired detective Reynaldo Guevara to testify today at a scheduled hearing about whether he repeatedly beat the defendant, Ariel Gomez, and whether Guevara coerced witnesses into falsely identifying Gomez as the man whose bullet killed a bystander at a bus stop.

Gomez’s attorney, David Owen, said the Cook County State’s Attorney’s Office reviewed Gomez’s case ahead of the planned hearing and opted to “do the right thing,” he said, by announcing plans to vacate Gomez’s conviction.

Guevara has been accused by at least 56 people of framing them for murders they say they did not commit. When called to testify in various cases, the detective has repeatedly invoked his right to remain silent. In October, prosecutors offered him an immunity deal in exchange for testimony that a Cook County Circuit Court judge later called “bald-faced lies.”

Gomez, 38, is on parole after serving 20 years behind bars.

Should prosecutors toss the conviction, Gomez will become the seventh Guevara defendant exonerated since Cook County State’s Attorney Kim Foxx took office in December 2016. Foxx pledged to review the Guevara cases when she campaigned for the office.

Gomez was 17 in June 1997 when he and several of his friends went joyriding to celebrate the Chicago Bulls winning their fifth NBA championship. As he drove through a crowd of revelers, his car was struck by bricks. He reacted by firing a handgun into the air, an act he admits was “juvenile,” according to legal papers.