KANSAS CITY, Mo. — The soldier imprisoned for leaking hundreds of thousands of classified documents to WikiLeaks released her first statement Tuesday since being granted clemency, saying she hopes to use lessons she’s learned in prison to help others.

Chelsea Manning, who is scheduled to be released from prison next week, thanked former President Barack Obama, who granted her clemency in the final days of his presidency. She also said letters of support from fellow transgender individuals and veterans inspired her “to work toward making life better for others.”

“For the first time, I can see a future for myself as Chelsea,” she said in the statement. “I can imagine surviving and living as the person who I am and can finally be in the outside world. Freedom used to be something that I dreamed of but never allowed myself to fully imagine.”

A former intelligence analyst in Iraq, Manning was convicted in 2013 of leaking more than 700,000 secret military and State Department documents and battlefield video. Manning served nearly seven years of her 35-year sentence at the military prison in Fort Leavenworth, Kansas. She was known as Bradley Manning before transitioning in prison.

The Army and Manning’s attorneys say Manning is scheduled to leave prison on May 17, but both declined to provide details.

Chase Strangio, an American Civil Liberties attorney who has worked closely with Manning, said during a FacebookLive chat Tuesday that Manning will have financial and health care resources when she leaves prison. He offered no details and didn’t return a message from The Associated Press.