Mohamed Fahmy and Baher Mohamed, the two Al-Jazeera journalists who remained in jail in Cairo following the release and deportation of colleague Peter Greste, have been bailed by an Egyptian court after spending more than 400 days in jail.

Despite being released from jail, the case against them remains pending an appeal. Judge Hassan Farid said the next hearing would be on 23 February. Fahmy, who enjoyed dual Egyptian-Canadian nationality before reportedly being ordered to renounce his Egyptian citizenship, was ordered to post $21000 bail. Mohamed, who only enjoys Egyptian citizenship, has been released with no bail costs.

Greste, who had been arrested with Fahmy and Mohamed in December 2013 on what many believe were politically motivated, trumped-up charges of aiding terrorist actions and being associates of the Muslim Brotherhood, was released from jail and deported from the country Feb. 1.

“Bail is a small step in the right direction, and allows Baher and Mohamed to spend time with their families after 411 days apart. The focus though is still on the court reaching the correct verdict at the next hearing by dismissing this absurd case and releasing both these fine journalists unconditionally,” read a statement from Al-Jazeera.

In January, an Egyptian judge had quashed the verdicts against all three defendants and ordered a retrial, citing major discrepancies in the original verdict.