Cairo’s urgent affairs court, headed by Judge Osama Sabri, abolished a first degree rule that classified the Palestinian resistance movement Hamas as a "terrorist organisation" on Saturday.
An Egyptian lawyer, Ashraf Farahat, filed a lawsuit before the court of urgent affairs in Abdin, central Cairo, and demanded Hamas be classified as a "terrorist organisation" in December 2013.
Farahat claimed to be able to prove the involvement of Hamas in terrorist attacks which have killed hundreds of Egyptian army officers and soldiers on the Sinai-Gaza border as well as the capital.
Judge Mohamed el Sayed, had ruled Hamas is a terrorist group, and the court order labelled all Hamas members to be terrorists as well, along with anyone who engages in any kind of activity involving Hamas.
The Egyptian State Litigation Authority later filed a counter lawsuit appealing Farahat’s verdict.
"This ruling does not return us to zero. I have two rulings placing the Brotherhood and the Izz ad-Din al-Qassam Brigades on the list of terrorist organisations," Ashraf Farahat said.
The Qassam Brigades are the armed wing of Hamas.
Hamas is an offshoot of Egypt's Muslim Brotherhood, which the authorities have also declared a terrorist group and repressed since the army ousted deposed president Mohamed Morsi in July 2013.
Mohamed Morsi was Egypt’s first civilian democratically elected president and was ousted by former army general, now president, Abdel Fattah el-Sisi.
Cairo has played a mediating role between neighbouring Israel and Hamas in organising deals and truces, including a truce reached between the sides in August 2014 that ended a 50-day Gaza war.
Hamas, along with the Muslim Brotherhood, have both long denied the Egyptian government’s accusations and say they have never attacked Egyptian soldiers.