Updated

A former Texas prosecutor who won a conviction that sent an innocent man to prison for nearly 25 years has agreed to serve 10 days in jail and complete 500 hours of community service.

Ken Anderson also agreed Friday to be disbarred as part of a sweeping deal that was expected to end all criminal and civil cases against the embattled ex-district attorney, who presided over a tough-on-crime Texas county for 30 years. He was also fined $500.

Anderson had faced up to 10 years in prison if convicted of tampering with evidence in the 1987 murder trial of Michael Morton, whose conviction in his wife's death was overturned in 2011.

Anderson also served 11 years in Williamson County as a state judge. He resigned in September.