Ibrahim, who was appointed by President Mohamed Morsi last month, stepped down after continuous protests by Egyptian judges and prosecutors about his appointment.
The protesters accused Ibrahim of forcing an Egyptian judge to refrain from releasing some 130 anti-Morsi demonstrators who had been detained by security forces earlier this month. In November, Morsi sacked Mubarak-era Prosecutor General Abdel Meguid Mahmoud, replacing him with Ibrahim.
Members of the judiciary believed the president’s sacking of Ibrahim’s predecessor was an attack on their independence.
Massive demonstrations broke out in Egypt over President Morsi’s decree. The president later rescinded the decree, but his hasty organization of the referendum on the draft constitution sparked more demonstrations.