WASHINGTON (AP) — A man accused of shooting two National Guard troops near the White House, killing one of them, has been taken to a hospital for treatment of a potentially life-threatening medical condition after he refused to eat food while jailed in pretrial custody, prosecutors said in a court filing Thursday.

Justice Department prosecutors said they learned Thursday morning that Rahmanullah Lakanwal was rushed to a hospital overnight “for medical treatment necessary to preserve his life.” The U.S. Marshals Service notified prosecutors last month of concerns that Lakanwal was at risk of long-term health consequences, including death, due to his “refusal to consume adequate nutrition for an extended period,” the filing says.