WILMINGTON, Del. — A former Delaware death-row inmate has been granted bail in Pennsylvania, where he faces attempted murder charges.

Chauncey Starling was convicted of killing a 5-year-old boy and a 28-year-old man in a Wilmington barbershop in 2001. He was sentenced to death, but in 2015, the Delaware Supreme Court found that mistakes were made that undermined confidence in the fairness of the trial.

Starling pleaded no contest to second-degree murder and was sentenced to 18 years, including the 16 years he’d already served.

Starling is accused of shooting Alfred Gaines in Chester, Pennsylvania, in April 2001. Gaines later was a witness against Starling in the barbershop shootings.

The Delaware County Daily Times newspaper reports that Sterling was granted unsecured bail of $20,000 in the Gaines shooting and be allowed to live with his former wife in Wilmington.