Chelsea Manning, the former Army intelligence analyst who was jailed last year for refusing to testify before a grand jury that is investigating WikiLeaks, has been hospitalized after she attempted suicide on Wednesday, according to her lawyers.

Ms. Manning, 32, is currently recovering, according to her lawyers, who did not say how Ms. Manning tried to kill herself while at a detention center in Alexandria, Va., where she has been held since May.

The Alexandria Sheriff’s Office confirmed only that there was “an incident” involving Ms. Manning at 12:11 p.m. and said, “It was handled appropriately by our professional staff and Ms. Manning is safe.”

A statement from Ms. Manning’s legal team said she was still scheduled to appear on Friday at a hearing before Judge Anthony Trenga of the United States District Court for the Eastern District of Virginia.