The prosecution withheld exculpatory evidence. Where have we seen this before?
Many DAs have hopes of attaining political office. Nothing pads the old resume or makes better vote-for-me commercials than a track record of putting away bad guys.
If a few innocent people have to serve hard time, that's a price they are willing to pay.