CAIRO — Egypt's prosecutor general announced Wednesday the 15-day detention of the country's former president, pending investigations into accusations of corruption and abuse of authority.

Since Hosni Mubarak's ouster on Feb. 11 on a wave of popular protests, Egyptians have been calling for the investigation of their longtime ruler along with that of many members of his government.

A statement from the prosecutor general's office was posted on Facebook early Wednesday, announcing Mubarak's detention. It said the ongoing investigation was into was into allegations of corruption, the wasting of public money, and the abuse of position for personal gain.

"The prosecutor general orders the detention of former President Hosni Mubarak and his sons Gamal and Alaa for 15 days pending investigation after the prosecutor general presented them with the current state of its ongoing investigations," it read.

The announcement follows the questioning and detention of the president's sons in the early hours of the morning in the Red Sea resort of Sharm el-Sheikh. The two are being flown back to Cairo.

The 82-year-old former president was admitted to the hospital at the resort Tuesday night after complaining of heart problems. It is believed he will remain in the hospital for his detention.

Most of the top officials of Mubarak's regime are now being investigated on allegations of corruption and abuse of authority.

The Facebook page was set up as an outreach from the Justice Ministry to the families of those killed and injured during the 18 days of protests that ousted Mubarak in mid-February.