A Baltimore judge on Wednesday refused to dismiss charges against six police officers in connection with the death of a black man from injuries he suffered while in custody.

The judge also refused to remove the prosecutor in the case. The death of 25-year-old Freddie Gray – who succumbed to injuries sustained after his arrest on April 12 – sparked rioting and unrest that shook Baltimore for days. Protests Wednesday outside the Baltimore courtroom where a pretrial hearing on the charges took place resulted in just one arrest.