US President Barack Obama has commuted the bulk of the Chelsea Manning's sentence just days before he leaves office.
This means the 29-year-old will be released from prison in May, AFP is reporting.
Manning, a former intelligence analyst in Iraq, was sentenced in 2013 to 35 years in prison after a military court conviction of providing more than 700,000 documents, videos, diplomatic cables and battlefield accounts to WikiLeaks.
The case ranked as the biggest breach of classified materials in US history.
Among the files Manning leaked in 2010 was a gunsight video of a US Apache helicopter firing on suspected Iraqi insurgents in 2007, an attack that killed a dozen people, including two Reuters news staff.
Last September the Army private, who was born male but revealed after being convicted of espionage that she identifies as a woman, ended a hunger strike after being told she would be allowed to receive gender transition surgery.
Manning is among 209 people whose sentences have been commuted by Mr Obama.
BREAKING: With 209 commutations and 64 pardons, @POTUS just gave 273 Americans a second chance. Learn more → https://t.co/t6Cs7NVqFA pic.twitter.com/FYrxSdqq8Q
— The White House (@WhiteHouse) January 17, 2017