WASHINGTON — President Barack Obama commuted the prison sentence of Chelsea Manning on Tuesday, allowing the Army intelligence officer who leaked scores of classified documents to go free nearly three decades early.
Manning, who will leave prison in May, was one of 209 inmates whose sentences Obama was shortening, a list that includes Puerto Rican nationalist Oscar Lopez-Rivera. Obama also pardoned 64 people, including retired Gen. James Cartwright, who was charged with making false statements during a probe into disclosure of classified information.
‘‘These 273 individuals learned that our nation is a forgiving nation,’’ said White House counsel Neil Eggleston, ‘‘where hard work and a commitment to rehabilitation can lead to a second chance, and where wrongs from the past will not deprive an individual of the opportunity to move forward.’’
The actions are permanent, and can’t be undone by President-elect Donald Trump. White House officials said Obama would grant clemency to more individuals on Thursday — his final day in office — but that batch was not expected to include prominent individuals like Manning.
A former Army intelligence analyst, Manning has been serving a 35-year sentence for leaking more than 700,000 classified government and military documents to WikiLeaks, along with some battlefield video. She was convicted in military court in 2013 of six violations of the Espionage Act and 14 other offenses and has spent more than six years behind bars. She asked Obama last November to commute her sentence to time served.
Known as Bradley Manning at the time of her 2010 arrest, Manning came out as transgender after being sentenced, and LGBT rights groups took up her cause and lobbied the president to grant her clemency. She was held at a men’s prison in Fort Leavenworth, Kansas, and filed a transgender prisoner rights lawsuit, although the military did approve gender-reassignment hormone therapy.
She attempted suicide twice last year, according to her lawyers, citing her treatment in prison. Manning has acknowledged leaking the documents, but has she did it to raise public awareness about the effects of war on civilians.
White House officials said the president was inclined to grant clemency to Manning because she had expressed remorse for her crimes and had served several years of her sentence. The officials briefed reporters on a conference call on condition of anonymity.
‘‘We are all better off knowing that Chelsea Manning will walk out of prison a free woman, dedicated to making the world a better place and fighting for justice for so many,’’ said Chase Strangio, an American Civil Liberties Union attorney representing Manning, adding that Obama’s action could ‘‘quite literally save Chelsea’s life.’’
But Obama’s move was panned by Manning’s critics, including several prominent Republicans. House Speaker Paul Ryan called the move ‘‘just outrageous.’’
‘‘Chelsea Manning’s treachery put American lives at risk and exposed some of our nation’s most sensitive secrets,’’ said Ryan, R-Wis. ‘‘President Obama now leaves in place a dangerous precedent that those who compromise our national security won’t be held accountable for their crimes.’’
The U.S. Army and the Pentagon both declined to comment on Obama’s decision.
Manning’s commutation came as Obama, days before leaving office, wielded his clemency powers with newfound vigor. Though most of the beneficiaries were low-level drug offenders or little-known financial criminals, a few prominent names made the list, too.
Cartwright, the former vice chairman of the Joint Chiefs of Staff who received a pardon, had pleaded guilty in October to making false statements during an investigation into a leak of classified information about a covert cyberattack on Iran’s nuclear facilities. Prosecutors said Cartwright falsely told investigators that he did not provide information contained in a news article and in a book by New York Times journalist David Sanger, and said he also misled prosecutors about classified information shared with another journalist, Daniel Klaidman.
The Justice Department sought a sentence of two years, saying employees of the U.S. government are entrusted each day with sensitive classified information.
Puerto Ricans had long demanded the release of Lopez, who was sentenced to 55 years in prison for his role in a violent struggle for independence for the U.S. island territory. Lopez had belonged to the ultranationalist Armed Forces of National Liberation, which has claimed responsibility for more than 100 bombings at public and commercial buildings in U.S. cities during the 1970s and 1980s.
Lopez’s term will now expire in May.
Commutations reduce sentences being served but don’t erase convictions. Pardons generally restore civil rights, such as voting, often after a sentence has been served.
It wasn’t immediately clear what Obama’s commutation for Manning would mean for WikiLeaks founder Julian Assange, who had earlier pledged that he would agree to U.S. extradition if Obama granted clemency to Manning.
Holed up in the Ecuadorean embassy in London, Assange had expressed concern that if he left he would be extradited to the U.S. to face espionage charges. But the Justice Department has never publicly announced any indictment against Assange, who is also being investigated by Sweden for a possible sex crime.
White House officials didn’t say Tuesday whether there were sealed charges against Assange, but insisted his pledge to surrender to the U.S. didn’t play into Obama’s decision to commute Manning’s sentence.
Melinda Taylor, who serves on Assange’s legal team, said he would not go back on his word, though she didn’t elaborate about possible extradition.
Associated Press writers Darlene Superville, Vivian Salama, John Hanna, Eric Tucker and Danica Cota contributed to this report. Christina Prignano of the Globe staff contributed.