SAN ANTONIO (AP) — Officials have scheduled the initial hearing for the Army sergeant who left his post in Afghanistan and was held by the Taliban for five years.

Sgt. Bowe Bergdahl is charged with desertion and misbehavior before the enemy. Army officials announced Thursday that his Article 32 hearing will be held July 8 at Fort Sam Houston, Texas. That proceeding is similar to a civilian grand jury. From there, it could be referred to a court-martial and go to trial.

Officials say Bergdahl walked away from his post in Afghanistan and was captured by the Taliban. He was then released from Taliban control in a prisoner exchange last May for five Taliban commanders. He faces up to life in prison if convicted of misbehavior before the enemy.

More From 95.7 KEZJ