Bradley Manning will be eligible for parole after serving one third of his sentence, which will be reduced by the time he has already served in prison plus 112 days.
Defence attorneys had not made a specific sentencing request but pleaded with Judge Colonel Denise Lind not to "rob him of his youth."
More top news
Scattered showers in the north-west, elsewhere mostly dry and bright.
As Labour's turmoil continues and the Tories deal with the fallout of Brexit, the Lib Dems think they have something to offer voters.
People are invited to share alleged racism or xenophobia stories after Brexit vote to highlight "need for a plan to tackle" social effects.