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 19 year-old from South East London has pleaded guilty after he soiled himself and revealed where he had hidden packets of heroin.
An air ambulance took the woman and two young children to hospital after the incident in Somerset.
Cuts to beds, ward closures and hospital mergers are part of Government plans to cut £22bn in NHS spending, documents reveal.