Army Sgt. Bowe Bergdahl arrives for a pretrial hearing at Fort Bragg, N.C. on Tuesday, Jan. 12, 2016. Bergdahl, who was held by the Taliban for five years after he walked off a base in Afghanistan, faces charges of desertion and misbehavior before the enemy. (AP Photo/Ted Richardson)

Army Sgt. Bowe Bergdahl exhibited symptoms of a mental condition known as schizotypal personality disorder at the time that he chose to walk away from his platoon’s base in Afghanistan in 2009 and was subsequently captured, according to a new episode of the podcast “Serial” released Friday.

It marks the first time that a specific diagnosis for Bergdahl has been reported for the period in which he left his platoon’s base alone and without a gun just before midnight June 29, 2009. Bergdahl now faces charges of desertion and misbehavior before the enemy. After walking away, he was held in brutal captivity for the next five years in Pakistan by militants affiliated with the Taliban in a case that has become one of the most notorious of the U.S. war in Afghanistan.

The new report highlights how much Bergdahl’s mental condition could play a role in his court-martial, which is scheduled for August at Fort Bragg, N.C. He was diagnosed last year by an independent Army forensics psychiatrist, Christopher Lang, who met with him after Bergdahl’s defense team requested what is commonly called a “sanity board” in May, the podcast reported.

[In ‘Serial’ podcast, Bowe Bergdahl says he likened himself to action hero Jason Bourne]

The soldier’s civilian attorney, Eugene Fidell, said in a preliminary hearing for his case in September that the board concluded Bergdahl was suffering from a “severe mental disease or defect,” but Fidell did not specify what it was. Fidell declined Friday to comment on the “Serial” episode and what it reported, but said that Bergdahl’s condition at the time of the incident is “highly pertinent” to his case.

The disorder is sometimes considered a variant of schizophrenia, according to the Mayo Clinic. But there are differences between the disorders, the clinic adds.

“While people with schizotypal personalities may experience brief psychotic episodes with delusions or hallucinations, they are not as frequent, prolonged or intense as in schizophrenia,” the clinic’s website said. “Another key distinction between schizotypal personality disorder and schizophrenia is that people with the personality disorder usually can be made aware of the difference between their distorted ideas and reality. Those with schizophrenia generally can’t be swayed away from their delusions.”

Schizotypal people are considered at increased risk of temporary psychotic episodes, usually in response to stress. They also have increased risks of major depression, problems interacting at work, school and in social situations, anxiety disorders and — in rare cases — schizophrenia itself, according to the Mayo Clinic.

[Disillusioned and self-deluded, Bowe Bergdahl vanished into brutal captivity]

In September, a senior officer who spent hours interviewing Bergdahl, Lt. Gen. Kenneth Dahl, testified that he found the soldier “unrealistically idealistic” and that his childhood living at the “edge of the grid” in Idaho hurt his ability to relate to other people. As a result, Dahl said, Bergdahl was an extremely harsh judge of character and saw things in people that other people did not.

“I think he absolutely believed that the things he perceived were absolutely true,” Dahl added.

Bergdahl enlisted in the Army in 2008 at a time when the service was under pressure to find new recruits while fighting wars in both Iraq and Afghanistan. He was able to join with a medical waiver despite having washed out of the Coast Guard’s due to what the sea service called a failure to adjust.

More coverage: 

U.S. soldier held captive released in exchange for Afghan detainees: June 1, 2014

Mixed reaction to Bowe Bergdahl’s recovery among those who consider him a traitor: June 1, 2014

War-zone deserter? If so, Bowe Bergdahl joins a fascinating and bizarre club: June 4, 2014

Afghan villagers recall when Bergdahl stumbled into their midst: June 4, 2014

Bergdahl’s writings reveal a fragile young man; June 11, 2014

Guantanamo transfer for Bowe Bergdahl violated federal law: Aug. 21, 2014

Bowe Bergdahl, once-missing U.S. soldier, charged with desertion; March 25, 2015

Bowe Bergdahl, in sparse prose, details his captivity for the first time; March 25, 2015

Disillusioned and self-deluded, Bowe Bergdahl vanished into a brutal captivity; Sept. 20, 2015

Army officer recommends against prison time for Bowe Bergdahl, lawyer says; Oct. 10, 2015

Donald Trump vs. Bowe Bergdahl: Soldier’s lawyer says political attacks have gone too far; Nov. 22, 2015

Lawmakers accuse White House of concealment in Bowe Bergdahl prisoner swap; Dec. 9, 2015

In new ‘Serial’ podcast, Bowe Bergdahl says he likened himself to Jason Bourne; Dec. 10, 2015

Accused Army deserter Bowe Bergdahl arraigned at Fort Bragg; Dec. 22, 2015

Does Bowe Bergdahl deserve a POW Medal and a Purple Heart? His lawyers think so; Jan. 12, 2016

Army tables decision on Bowe Bergdahl’s POW Medal and Purple Heart until after trial; Jan. 15, 2016