In a stunning ruling by military judge Col. Jeffery Nance, Army Sgt. Bowe Bergdahl will be dishonorably discharged, yet receive no prison sentence for endangering his fellow soliders after abandoning his post in Afghanistan.

President Trump took to Twitter shortly after the ruling to blast the decision, calling it a “complete and total disgrace.”

“The decision on Sergeant Bergdahl is a complete and total disgrace to our Country and to our Military,” President Trump tweeted.

The decision on Sergeant Bergdahl is a complete and total disgrace to our Country and to our Military. — Donald J. Trump (@realDonaldTrump) November 3, 2017

TRENDING: Obama Statement on Ginsburg Demands GOP Senate Honors Her Dying 'Instructions' and Put Off Vote on Supreme Court Nominee Until New President Sworn In

Fox News reports:

More than eight years after Army Sgt. Bowe Bergdahl walked off his base in Afghanistan — and unwittingly into the clutches of the Taliban — Bergdahl walked out of a North Carolina courtroom a free man on Friday. Bergdahl, who pleaded guilty to endangering his comrades, was fined, reduced in rank and dishonorably discharged — but he received no prison time. […]Bergdahl faced up to life in prison for desertion and misbehavior before the enemy. Wearing a blue dress uniform, Bergdahl appeared tense during the short morning session. He clenched his jaw as if grinding his teeth, then grimaced and looked at the floor when he walked out of the courtroom. In closing arguments, defense attorneys argued that Bergdahl already had suffered enough confinement during five years of brutal captivity by Taliban allies. They asked the judge for a dishonorable discharge and no prison time. Their argument for leniency also cited harsh campaign-trail criticism by Donald Trump and Bergdahl’s mental disorders.

The head scratching decision comes amid reports that Bergdahl believes his Taliban captors treated him better than the U.S. military.

“At least the Taliban were honest enough to say, ‘I’m the guy who’s gonna cut your throat,’ ”Bergdahl told British TV journalist Sean Langan in an interview reported in the The Sunday Times of London.

“Here, it could be the guy I pass in the corridor who’s going to sign the paper that sends me away for life,’’ added Bergdahl

“We may as well go back to kangaroo courts and lynch mobs.”

Following the ruling, the NRA’s Cameron Gray tweeted the names and photos of the six brave soliders who died looking for Bergdahl after he deserted his post.

Tweet credit: Cameron Gray

Staff Sergeant Clayton Bowen, 29, of San Antonio, TX Died looking for Bowe Bergdahl pic.twitter.com/PabZDUkKsi — Cameron Gray (@Cameron_Gray) November 3, 2017

Private 1st Class Morris Walker, 23, of Chapel Hill, NC Died looking for Bowe Bergdahl pic.twitter.com/aLmQgMmek0 — Cameron Gray (@Cameron_Gray) November 3, 2017

Staff Sergeant Kurt Curtiss, 27, of Murray, UT Died looking for Bowe Bergdahl pic.twitter.com/qX1wngoMpk — Cameron Gray (@Cameron_Gray) November 3, 2017

2nd Lieutenant Darryn Andrews, 34, of Dallas, TX Died looking for Bowe Bergdahl pic.twitter.com/PDL75OMWrD — Cameron Gray (@Cameron_Gray) November 3, 2017

Staff Sergeant Michael Murphrey, 25, of Snyder, TX Died looking for Bowe Bergdahl pic.twitter.com/uqmSC86Wxv — Cameron Gray (@Cameron_Gray) November 3, 2017