The United States Army has charged Bowe Bergdahl, the former Prisoner of War of the Taliban, with desertion, according to the Associated Press.

Bergdahl allegedly deserted his post in Afghanistan in 2009 and was subsequently captured by the Taliban and held for five years.

The Obama administration recovered Bergdahl in a prisoner exchange for five high-ranking Taliban members being held in Guantanamo Bay, according to the AP.

The Obama Administration stands by the exchange, according to the AP.

In a note submitted by his lawyer in an attempt to avert the charges, Bergdahl claims he tried to escape “about a dozen times,” but repeatedly failed and was tortured.

Bergdahl faces a hearing under Article 32 to decide if the evidence warrants a court martial.

If court-martialed, Bergdahl faces being stripped of back pay and veteran’s benefits for a dishonorable discharge to serving five years in prison for desertion, according to the AP.

He could possibly be charged with “misbehavior before the enemy,” a military charge concerning “shameful or cowardly conduct,” according to the AP.

Some members of Begdahl’s former unit want to see some kind of serious punishment, having risked their lives to recover him, according to the AP.

Bergdahl continues to receive medical care at the Army medical center at Fort Sam Houston in Texas where he is still on active duty, according to the AP.