Bowe Bergdahl, the U.S. Army sergeant controversially traded for five Taliban prisoners last year, will be hit with two charges from military prosecutors, his attorney told CBS News.

Bergdahl is going to be charged on one count of desertion and one count of "misbehavior before the enemy."

His attorney, Gene Fidell says he hasn't seen the charges yet for himself, but Bergdahl had passed along the information earlier Wednesday. The Pentagon is expected to make an official announcement about the charges shortly.

Bergdahl spent a total of five years in captivity as a prisoner of the Taliban. In May of last year, U.S. officials announced that they had struck a deal via Mideast mediators to free Bergdahl in exchange for five Taliban prisoners held in Guantanamo Bay. That deal proved to be a large source of tension between Congress and the Obama administration, with some congressmen claiming it was illegal.

Since his release, former fellow servicemen questioned whether Bergdahl was worthy of such exceptional treatment. He was accused of abandoning his post in Afghanistan at least once, in 2009.

Some of Bergdahl's writing was released after the prisoner exchange, and critics seized on it as proof he had deserted.

In July of last year, further questions were raised when a photo of Bergdahl emerged, showing him smiling with Badruddin Haqqani, a now-deceased senior commander for the Haqqani network, a notorious terrorist group based in Pakistan.

© 2015 CBS Interactive Inc. All Rights Reserved.