An Egyptian appeals court on Wednesday overturned death sentences for 149 people accused of killing policemen in a mob attack on their station, a judicial source said.
The court ordered a retrial for the defendants over the attack, which killed 13 policemen near Cairo on Aug. 14, 2013, the day police shot dead hundreds of demonstrators in the capital.
The initial ruling in February 2015 came amid a series of death sentences in mass trials that were criticized internationally, as the government cracked down on supporters of ousted president Mohamed Morsi.
The court had also sentenced 37 people to death in absentia, but they would have to hand themselves in for a retrial.
The grounds for the appeals court ruling were not immediately available, but the court has overturned hundreds of death sentences over the past year, to the relief of rights advocates and frustration of some in the government who have urged fast track executions.
Seven people have been executed for political violence since Morsi's ouster, including six who were convicted of belonging to an insurgent group.
The military overthrow of Morsi, the country's first democratically elected president, ushered in the worst domestic bloodshed in the country's modern history.
Morsi ruled for only a year, deeply dividing the country, and his removal was met with escalating protests by those who favored the Morsi-supporting Muslim Brotherhood.
On Aug. 14, 2013, less than two months after Morsi's overthrow, police broke up two protest camps in Cairo, killing about 700 protesters.
Morsi's supporters around the country attacked police stations, killing dozens of officers, and torched the churches of Coptic Christians.
Morsi himself is facing several trials and has already been sentenced to death in one case.
Several leaders of his Muslim Brotherhood movement, including its chief Mohamed Badie, have been sentenced to either death or lengthy jail terms.
The movement has been blacklisted as a "terrorist organization" and its assets confiscated. It was also long repressed by former Egyptian President Hosni Mubarak, whose downfall was one of the major episodes of the Arab Spring.
The police crackdown that initially targeted Morsi supporters was later widened to include secularist and leftist leaders and activists.
Al Jazeera and Agence France-Presse