ISIS leader Abu Bakr al-Baghdadi
ISIS leader Abu Bakr al-BaghdadiReuters

An Egyptian court on Sunday designated the Islamic State (ISIS) a terrorist organization and banned it in the country.

According to The Associated Press, the court ruling adds that it considers all of the ISIS's affiliates to be terrorist organizations as well.

One of the ISIS affiliates is the Sinai-based Ansar Bayt Al-Maqdis, which has killed hundreds of Egyptian soldiers and police over the last year, and has beheaded several people  in acts similar to those of ISIS.

Among the attacks claimed by the group since the ouster of Islamist president Mohammed Morsi was the assassination of a top Egyptian police general, who was gunned down as he left his home in a west Cairo neighborhood, and a bus bombing on a tour bus filled with South Korean tourists in the Sinai. 

The group has also claimed responsibility for several rocket attacks that targeted the Israeli resort city of Eilat.

In early November, the group pledged allegiance to ISIS on Twitter,  just a week after using the same Twitter account to deny reports saying it had pledged allegiance to ISIS and its leader, Abu Bakr al-Baghdadi.