Egypt’s top prosecutor Abdel Maguid Mahmoud officially tendered his resignation from his post as prosecutor-general on Tuesday, the state television reported.
Mahmoud submitted his resignation on Friday and asked to be returned to the judiciary to avoid a conflict of interest.
The same politicians who once removed Mahmoud, who was appointed by ousted President Hosni Mubarak, from his position are now standing trial.
Egypt's army ousted Islamist President Mohamed Mursi on Wednesday in response to mass demonstrations that swept the country last week.