Judge Hisham Barakat took his oath of office as the country’s prosecutor-general on Wednesday, reported the state news agency MENA.
Barakat's predecessor, Abdel Maguid Mahmoud, officially tendered his resignation on Tuesday, asking that he serve as a judge to avoid 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 interim President Adli Mansour, the head of the Constitutional Court, chose Hisham Barakat after discussing his appointment with the High Judicial Council.
Barakat last served as the head of the technical office of the Cairo Appeals Court.