An Egyptian court has ordered the release of Egypt's deposed President Hosni Mubarak pending further investigation into corruption charges. But he will continue to be held in prison in two other corruption cases.

The decision by a misdemeanors court in Nasr City on Saturday came days after another court ordered Mubarak released pending his retrial in a separate case alleging responsibility for the deaths of nearly 900 protesters during the 2011 uprising against him.

In that case, an appeals court threw out a life sentence against him in January, granting him a new trial, which is set to resume May 11.

Egypt's prosecutor general Talaat Abdullah plans to appeal the latest release order.

Mubarak has been in detention since 2011 and currently is in Tora prison in Cairo.