Former Army intelligence analyst Chelsea Manning is seeking her immediate release from a Virginia jail after spending nearly four weeks at the facility.

A federal judge sent Manning to jail March 6 for refusing to testify to a grand jury investigating Wikileaks. On Monday, Manning's lawyers filed a motion with the federal appeals court in Richmond seeking her release on bail while that judge's order is appealed.

Manning's lawyers cited her medical needs related to her transgender status. They also say she was illegally electronically surveilled by the government before her grand jury appearance, and that Manning can legally refuse to answer questions derived from such surveillance.

Manning served several years in prison for leaking troves of classified documents before her sentence was commuted by then-President Barack Obama.