Lead intv Lauren McNamara friend of WikiLeaks Bradley Manning_00003920.jpg
Lead intv Lauren McNamara friend of WikiLeaks Bradley Manning_00003920.jpg
Now playing
01:31
Who is Chelsea Manning?
Now playing
04:22
Trump's influential supporters spoke of what was coming before riot
McCarthy
McCarthy
PHOTO: CNN
Now playing
01:40
'Far too close:' Army secretary reveals sobering details on riot
Sen. Graham/Erin Burnett split
Sen. Graham/Erin Burnett split
PHOTO: Fox News/CNN
Now playing
04:08
Burnett: Sen. Graham became 'sycophant in chief' under Trump
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:44
Trump mostly in seclusion during final days of presidency
PHOTO: KamalaHarris/Twitter
Now playing
01:28
Kamala Harris says goodbye to California Senate seat
PHOTO: @FLOTUS
Now playing
02:51
Watch Melania Trump's farewell message
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
PHOTO: Tom Williams/CQ-Roll Call, Inc/Getty Images
Now playing
02:49
GOP lawmaker accused of giving 'reconnaissance' tour prior to Capitol riot
PHOTO: CNN
Now playing
04:36
Former FBI adviser calls Trump a charismatic spark for extremism
Andrew McCabe 0118
Andrew McCabe 0118
PHOTO: CNN
Now playing
02:01
Andrew McCabe compares Capitol attack to Benghazi attack
Now playing
03:07
Avlon: Here's a way to turn down the 'MAGAphone'
PHOTO: CNN
Now playing
02:09
Lawmaker slams riot: 'Damned if I'll let it' shake faith in democracy
PHOTO: CNN
Now playing
04:01
Raskin: I'm not losing my son in 2020 and my country in 2021
Now playing
01:19
Sen. King: Cutting off Trump's intel access should be easy decision for Biden
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor's entrance to the headquarters of the National Security Agency (NSA) after a shooting incident at the entrance in Fort Meade, Maryland, February 14, 2018. - Shots were fired early Wednesday at the ultra-secret National Security Agency, the US electronic spying agency outside Washington, leaving one person injured, officials said. Aerial footage of the scene from NBC News showed a black SUV with numerous bullet holes in its windshield crashed into concrete barriers at the main entrance to the NSA's headquarters in Fort Meade, Maryland. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
PHOTO: Saul Loeb/AFP/Getty Images
Now playing
01:31
Christopher Miller orders NSA chief to install Trump loyalist as agency's top lawyer
Now playing
02:38
Biden: Science team 'among the brightest, most dedicated'
(CNN) —  

Former Army intelligence analyst Chelsea Manning has been released from federal custody after spending about two months in jail for refusing to testify about her disclosure of military and diplomatic secrets to WikiLeaks in 2010, according to a statement from her legal team.

But Manning could soon return to jail, as her lawyers indicated that she would again refuse to testify in response to a separate subpoena received while she was detained.

Manning, who served about seven years in prison for the massive leak, objected to the questioning in a grand jury appearance in March that was apparently part of a continued effort by federal prosecutors investigating WikiLeaks founder Julian Assange. She was subsequently held in contempt, and a federal appeals court rejected her argument for release – that her rights were violated by the subpoena proceedings and the federal prosecutors purportedly seeking to entrap her – in April.

Manning was released from the William G. Truesdale Adult Detention Center in Alexandria, Virginia, on Thursday after 62 days because the grand jury that had demanded her testimony was no longer sitting, according to the statement.

The second subpoena would have her appear before a different grand jury next week, “but for (the) same questions,” according to a tweet posted on Manning’s Twitter account Thursday night.

“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, May 16,” Manning’s team said in the statement. “Chelsea will continue to refuse to answer questions.”

Manning had formally asked the court to release her earlier this month, saying “nothing will convince me to testify,” according to documents filed in the Eastern District of Virginia court. Representatives for Manning had previously said she was kept in her cell for 22 hours a day, arguing that such solitary confinement threatened her health and amounted to “torture.”

CNN’s Evan Perez contributed to this report.