An Egyptian journalist has tweeted "I am free" after a judge ordered the release of two men who spent 411 days behind bars for "spreading lies to help a terrorist group".
Baher Mohamed tweeted his joy shortly after the judge's decision along with that of Canadian journalist Mohamed Fahmy, who was told he must pay a $33,000 bail bond.
I AM FREE— Baher Ghorab (@Bahrooz) February 12, 2015
Mohamed was immediately tweeted back by Peter Greste, the Australian journalist who was also imprisoned for allegedly aiding the banned Muslim Brotherhood but was freed last week.
@Bahrooz CONGRATULATIONS BAHER!!! I'M CELEBRATING WITH YOU BROTHER— Peter Greste (@PeterGreste) February 12, 2015
The pair were imprisoned in June along with Greste, who was freed on 1 February under a new law that allows the Egyptian President, Abdel Fattah el-Sissi, to deport foreigners at any time during their prosecution.
Read more: Now free the others: The release of journalist Peter Greste should not distract Western powers from President Sisi's ongoing abuses
Read more: Al Jazeera journalist Mohamed Fahmy gives up Egyptian citizenship ahead of 'imminent' release
Mr Fahmy gave up his Egyptian citizenship to qualify for deportation to Canada, but Mr Mohamed does not have a foreign passport.
Police arrested the three journalists in December 2013 and prosecutors accused them of being involved in terrorism and of spreading false information.
The journalists, who strongly deny collaborating with the Muslim Brotherhood after the overthrow of President Mohammed Morsi in 2013, said they were jailed simply for reporting the news.
Mr Greste and Mr Fahmy received seven-year prison terms, while Mr Mohamed received a longer 10-year sentence because he had been found with a spent bullet casing, before a retrial was ordered.
Egypt's top appeals court overturned their convictions last month.
Additional reporting by AP