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
A band of heavy rain is heading for the UK, threatening to make the May Bank Holiday a washout, the Met Office has warned.
Headteachers could strike in protest at government plans to force schools to become academies
Tonight it'll become dry and clear for most parts of Britain.