Bergdahl (pictured leaving court Tuesday), now 30, faces charges of desertion and misbehavior before the enemy. The latter charge is relatively rare and carries the potential of life in prison