The vast majority of violent crimes aren't committed by people living with mental illness. But when people struggling with mental illness are charged with violent crimes, it poses a dilemma. When a defendant receives treatment and improves while awaiting trial in custody, prosecutors must decide whether they'll ask for a prison sentence or allow defendants to be released to the community with no guarantee they'll continue their care.