WASHINGTON -- President Barack Obama says it's "absolutely vital" that the truth about what happened to Freddie Gray comes out.

Obama commented Friday shortly after Baltimore's top prosecutor announced criminal charges against the six police officers who were suspected after the 25-year-old Baltimore man suffered a fatal spinal injury in police custody. His death under mysterious circumstances angered the community and led to violent protests, including looting and fires, after his funeral earlier this week.

Obama says justice needs to be served and all the evidence needs to be presented. He says the individuals facing charges are entitled to due process.

He added that what the people of Baltimore want most is the truth.

Obama commented during a media availability at the White House.