A Michigan prosecutor's office says an assistant prosecutor quit after posting on Facebook that people assaulting police officers in Baltimore should be shot.

Wayne County Prosecutor's Office spokeswoman Maria Miller said in a statement that Teana Walsh resigned Friday and Prosecutor Kym Worthy accepted it. The statement says the post was "out of character" and "does not reflect the person that we know."

Walsh's now-deleted post on her personal Facebook page said the "solution" for "large swarms of people throwing bricks at police" is "Shoot em. Period."

The Associated Press couldn't find a working number for Walsh so she could comment on the post or her resignation.

Baltimore's top prosecutor announced criminal charges Friday against all six officers suspended after Freddie Gray suffered a fatal spinal injury in police custody.