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
Three Court of Appeal judges are analysing the latest stage of a life-support treatment dispute.
Ms Markle joined Harry and William at services in London to honour the fallen.
Thunder and hail at times across the UK. Showers becoming confined to the northwest overnight.