Prosecutors rely heavily on police testimony during trials and their conviction ratio is highly important for their careers especially for elected ones, so it can easily create a conflict of interest.
They go after the police and somehow police officers stop attending trials or claim they don’t remember during their testimony.
There needs to be either a completely separated body from the state/district attorneys or it needs to be federal.