Hisham Barakat, who oversaw President Mubarak’s acquittal, was killed in a car bombing near his house in Cairo in 2015.
An Egyptian criminal court has sentenced to death 31 people for their alleged part in the June 2015 assassination of the country’s top prosecutor, Hisham Barakat.
The ruling on Saturday, issued by judge Hassan Farid, referred the case to the country’s top theologian to get his non-binding opinion on the death sentences, a formality followed by courts in the case of capital punishment.
Delivering the verdict, Farid called Barakat’s assassination a "heinous and cowardly conspiracy".
"They shed the blood of a Muslim while he was fasting in Ramadan," Farid said, referring to the holy month for Muslims that fell in July in 2015.
"And whoever kills a believer intentionally, his punishment is hell," the judge added, quoting a verse from Islam’s holy book, the Quran.
Barakat was appointed prosecutor-general by Egypt’s then interim-President Adly Mansour in July 2013, shortly after the military ousted the country’s first freely-elected president, Mohamed Morsi.
He oversaw the acquittal of former Egyptian President Hosni Mubarak.
He was killed in a car bombing near his house in Cairo on June 29, 2015, and was the most senior government official killed by armed groups since Morsi’s ouster.
No one has claimed responsibility for the attack.
The court will reconvene on July 22 to reaffirm the death sentences and issue its verdict on the 36 other defendants in the case. Of the 67 defendants, 15 are at large.
The other suspects on trial, out of a total of 67, have yet to receive their judgements.
Egyptian authorities have accused the Muslim Brotherhood movement and Palestinian group Hamas of involvement in the attack, an accusation strongly denied by both groups.
Dozens of the Muslim Brotherhood’s leaders and followers have been given heavy-handed sentences since Morsi’s overthrow.
Amnesty international has recently criticised the increasing number of mass death sentences handed down in Egypt.