In 2013 Texas (Williamson County) District Attorney Ken Anderson served a 10 day jail sentence for prosecutorial misconduct. Quoting https://innocenceproject.org/news/ken-anderson-michael-morton-prosecutorial-misconduct-jail/ :
Mr. Anderson’s misconduct came to light when, in the course of the post-conviction DNA litigation that ultimately led to Mr. Morton’s freedom, his legal team filed a public information act request for documents from his trial. They discovered that evidence of Michael’s innocence, that could have prevented his wrongful conviction, had been concealed from his defense at his original trial in 1987.
Overall this sounds very similar to the Supreme Court case of Imbler v. Pachtman, which was heard in 1976. Quoting the wikipedia article on that case:
Imbler used the new evidence to successfully free himself, then brought up a civil suit alleging that Pachtman had withheld evidence. The suit, however, was dismissed on the grounds that Pachtman had prosecutorial immunity, a finding which the Supreme Court affirmed.
My question is... based on the precedent set by Imbler v. Pachtman why did Ken Anderson serve any jail time at all?