An Egyptian court has ordered the release on bail of former President Hosni Mubarak in a corruption case.
Reports from Cairo suggest he may be freed from prison on Thursday, but the prosecution may still appeal.
The 85-year-old still faces charges of complicity in the killing of protesters during the uprising that forced him from power in 2011.
He was sentenced to life in jail last year, but a retrial was later ordered after his appeal was upheld.
That retrial opened in May but Mr Mubarak has now served the maximum amount of pre-trial detention permitted in the case.
On Wednesday, the court in the capital ordered the release of Mr Mubarak, said his lawyer and judicial sources.
Asked when Mr Mubarak could actually leave the prison, his defence lawyer Fareed El-Deeb told Reuters: “Maybe tomorrow.”