Former army intelligence analyst and convicted leaker Chelsea Manning was freed from jail Thursday after spending 62 days behind bars for refusing to testify before a grand jury.

The federal grand jury investigating a sealed case against WikiLeaks wrapped up on Thursday, prompting Manning’s release from the William G. Truesdale Adult Detention Center in Alexandria, Va, her legal team said in a statement.

Saying she objected to the secrecy behind grand jury proceedings, Manning, 31, had refused to testify and was held in contempt and taken into custody March 8.

Her plea to be let out of the Virginia jail drew support from New York Rep. Alexandria Ocasio-Cortez, who said Manning had been “trapped in solitary confinement” and called the sentence “torture.”

The anti-secrecy activist may not be free for long — she was subpoenaed to testify before a different grand jury May 16.

“It is therefore conceivable that she will once again be held in contempt of court and be returned to the custody of the Alexandria Detention Center, possibly as soon as next Thursday,” her legal team said in a statement.

“Chelsea will continue to refuse to answer question, and will use every available legal defense to prove to District Judge Trenga that she had just cause for her refusal to give testimony.”

Manning spent seven years in jail for leaking classified information to WikiLeaks. Former president Barack Obama commuted her 35-year sentence in January 2017.

In April, federal prosecutors unsealed a computer hacking indictment against WikiLeaks founder Julian Assange for his role in helping Manning infiltrate Pentagon computers. A dozen Russian intelligence officers were indicted in 2018 as part of special counsel Robert Mueller’s probe for working with WikiLeaks and hacking the Democratic National Committee and Hillary Clinton’s 2016 presidential campaign.