Bradley Manning, the American soldier who leaked hundreds of thousands of secret government documents, was on Wednesday sentenced to 35 years imprisonment and a dishonorable discharge by a military judge.
The sentence was pronounced by Colonel Denise Lind.
Manning will be eligible for parole and could be out in a little more than a decade.
Colonel Lind ordered that Manning should be given a reduction in rank while he is also to forfeit all military pay and benefits.
The three and a half years Manning has spent in custody will be applied to his sentence.
25-year-old Manning, a former Army intelligence analyst, released documents, including battlefield reports and diplomatic cables, to the anti-secrecy site Wikileaks in 2010.
Manning betrayed no emotion as the sentence was pronounced.
His case will however go for an automatic appeal in the next six months. In the course of the trial, prosecutors argued that Manning should be given up to 60 years, so that it would serve as a deterrent to others who could be thinking of leaking such secrets in the future.
Manning’s lawyers on the other hand urged the job not to “rob him of his youth.”
Prosecutors said Manning was not a whistle-blower but a traitor. They said Manning knew that enemies of the United States use Wikileaks as a resource, and they said some of the documents he released wound up in the hands of al Qaeda.