Further releases expected as Abdullah Elshamy walks free after being detained since last August without charge

This article is more than 6 years old

This article is more than 6 years old

An al-Jazeera Arabic service journalist who had been on hunger strike for more than four months to protest against his prolonged detention without charges in Egypt walked free on Tuesday to cheers.

The mother, wife and brothers of 26-year-old Abdullah Elshamy met him as he walked out of a police station in a northern Cairo suburb. Egypt's prosecutor general had ordered his release, citing "health conditions".

Elshamy looked gaunt and frail as he left the station in Nasr City still dressed in a prison uniform.

"I won," he told reporters. His family said they would take him to a hospital.

His detention, along with the trial of other al-Jazeera journalists, was related to the sweeping crackdown on Islamist supporters of ousted President Mohamed Morsi since the military overthrew him last year. Egyptian officials accused the network of supporting Morsi's Muslim Brotherhood. The Qatar-based network denied the allegations.

Hours earlier, a Canadian-Egyptian journalist for al-Jazeera imprisoned in Egypt said he was hopeful that Elshamy's release on medical grounds means he too will be freed.

Mohammed Fahmy spoke from a private hospital where he had a medical checkup on his shoulder, an injury that has worsened during his six-month imprisonment.

"We are very confident we are going to be next," said Fahmy as he stepped out of the prison car, handcuffed to a policeman. "We have rebuffed everything that they brought against us [during the trial]."

Fahmy and two other al-Jazeera English journalists are on trial for terrorism-related charges, the first such case against reporters in Egypt. The verdict in the trial, which began in February, is expected on Monday.

Fahmy, a former producer for CNN and contributor to other western media outlets, is accused of belonging to the Muslim Brotherhood, a charge he dismisses as baseless. The defendants also include Peter Greste, an Australian journalist, and Baher Mohammed, another Egyptian reporter for the station.

They are charged with providing a platform for the Muslim Brotherhood and Morsi. The three men have been imprisoned since 29 December. Six other al-Jazeera staffers, including two Britons, are being tried in absentia.

The case has caused an outcry among journalists and rights groups, who say their prosecution was politicised and undermines freedom of expression in Egypt.

The prosecution was a reflection of the tension between the Egyptian authorities and the network. The Egyptian government accuses al-Jazeera of being biased toward Islamists. The network denies the allegations against it and its detained staffers.

Elshamy had been held since August without charges after he was swept up with other protesters following the violent dispersal of a pro-Morsi sit-in that left hundreds dead.

Al-Jazeera welcomed his impending release. "This is a relief rather than a cause for celebration. Abdullah has been through a terrible ordeal for over 10 months," said a statement issued on Monday. The network called for the release of the three other journalists on trial.

Fahmy appeared upbeat in the hospital. He said he considered the case a misunderstanding and hoped the authorities would not let the case continue lest Egypt's name be harmed.

Fahmy has been the most outspoken against the charges during his trial. He has submitted letters to the court from prominent figures in Egypt including the former Arab League secretary-general Amr Moussa, who oversaw the committee that drafted Egypt's constitution.

Moussa wrote that Fahmy was "known as competent, has integrity and is objective".

Fahmy has complained that medical negligence meant his shoulder failed to heal. On Tuesday, a new report – compiled after the authorities finally allowed him to seek private medical care while in custody – showed that he would need surgery to fix a fractured bone.