Officials say an Egyptian court has ordered the release of ex-President Hosni Mubarak, but it’s not immediately clear whether the prosecutors will appeal the order.

The Wednesday decision comes in a hearing on charges against Mubarak of accepting gifts from a state-owned newspaper, the last case that has kept the ailing leader in detention.

It raises the possibility that Mubarak will walk free, a move that is likely to fuel the unrest roiling the country after the autocratic leader’s successor was removed in a military coup last month. The officials spoke anonymously because they are not authorized to speak to the media.

Official estimates fromEgyptian government place the death toll, from recent clashes between pro-Morsi supporters and Egyptian security forces, at 638 dead with thousands more injured. Representatives from the Muslim Brotherhood insist that the death toll is much higher (2,000+), and that the government is forcing people to sign death certificates listing non-gunshot-related causes of death (such as suicide) to keep the official number low.