Investigative journalist Rozina Islam was arrested in Bangladesh under the Official Secrets Act and later charged with stealing health ministry documents.
A leading Bangladesh reporter critical of the government's response to the Covid
-19 pandemic was released on bail on Sunday and vowed to "continue my journalism", after her detention sparked days of nationwide protests.
Rozina Islam, 42, an investigative journalist for the country's largest Bengali daily Prothom Alo, was arrested by police Monday under the Official Secrets Act.
She was later charged with stealing health ministry documents.
Islam was granted bail after being ordered to surrender her passport and pay a bail bond of 5,000 taka ($60) by the chief metropolitan magistrate of the capital Dhaka, her lawyer told reporters.
The passport submission was to prevent her from leaving the country, he said.
Islam was greeted by her family and fellow journalists when she was released from a women's jail on the outskirts of Dhaka.
"I will continue my journalism. I thank everyone including the journalists who stood by me," she told reporters before heading to a hospital for a medical check-up.
Her brother Mohammad Selim told AFP Islam had been unwell before she was taken into custody. He did not disclose why she was ill.
Journalist unions and advocacy groups said Islam was detained for her stories, which included allegations that urgently needed medical equipment was left at Dhaka airport for months, and that bribes had been offered to recruit doctors.
Before her formal detention, Islam had spent five hours at the health ministry, according to a ministry complaint seen by AFP.
Her detention triggered nationwide protests by thousands of journalists as well as political and civil rights activists.
Rights groups say a crackdown on the media has grown during the coronavirus
The general secretary of Bangladesh's National Press Club welcomed the court's decision but called for the case against Islam to be dropped.
"She has been asked to submit her passport, which is a curb on her freedom of movement," Elias Khan told AFP.
"We have demanded that all the cases against her are withdrawn immediately... Bangladesh journalists still operate in a climate of fear."
Bangladesh has reported nearly 800,000 coronavirus
infections and more than 12,300 deaths so far, but experts say the actual numbers are likely to be much higher.