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
The Queen's representative in Canada says he "heartily" encourages the romance.
Shadow Chancellor John McDonnell will say Britain is in the grip of a "debt crisis" as he promises reforms to help people pay back loans.
The 58-year-old man was stabbed in the neck as he approached the Altrincham Islamic Centre in Manchester.