Six Baltimore police officers face charges in connection with how they handled Freddie Gray while he was in police custody.

Baltimore City State's Attorney General Marilyn J. Mosby said Friday during a press conference that the officers failed to get Gray medical help even though he requested it repeatedly after he was arrested April 12. She called his arrest illegal.

Gray suffered a spinal injury and later died.

All of the officers were taken into custody Friday afternoon and have bonded out of jail.

The bail for Caesar Goodson, Alicia White, William Porter and Brian Rice was set at $350,000 each. Edward Nero and Garrett Miller each have a bail of $250,000.

A preliminary hearing is scheduled for May 27.

Officer Caesar Goodson Jr., 45, who was the driver of a police van that carried Gray through the streets of Baltimore, was charged with second-degree murder, manslaughter, second-degree assault, two vehicular manslaughter charges and misconduct in office. The Baltimore Sun reports that Goodson joined the department in 1999 and neighbors said he was friendly.

Officer William Porter, 25, was charged with involuntary manslaughter, second-degree assault and misconduct in office. Porter had worked for the department since 2012 and neighbors expressed shock over his arrest.

Lt. Brian Rice, 41, was charged with involuntary manslaughter, second-degree assault and misconduct in office. The highest-ranking officer charged in the case had guns taken away from him related to a 2012 domestic incident.

Sgt. Alicia White, 30, was charged with involuntary manslaughter, second-degree assault and misconduct in office. White joined the department in 2010 and was promoted to sergeant this year.

Officer Edward Nero, 29, was charged with second-degree assault and misconduct in office. Nero joined the department in 2012 and had been a firefighter in New Jersey.

Officer Garrett Miller, 26, was charged with second-degree assault, misconduct in office and false imprisonment. Miller joined the force in 2012. A neighbor said Miller mostly kept to himself.