President Donald Trump blasted the decision not to incarcerate Army deserter Bowe Bergdahl in a Twitter post issued shortly after the sentence was announced Friday.

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

A military judge ruled no prison time for Bergdahl , instead issuing a dishonorable discharge,

Bergdahl faced life in prison for deserting his post in Afghanistan in 2009, leading to injuries to fellow servicemen who went searching for him. Prosecutors were recommending 14 years in prison.

Bergdahl was captured and held captive by the Taliban for 5 years.