A Cairo court has banned all activities by Hamas in Egypt, calling the Palestinian movement that runs Gaza a terrorist organization.

Hamas member Izzat Rashq denounced Tuesday's ruling by the Cairo circuit court as a "political decision aimed to undermine the Palestinian people and their valiant resistance."

Egypt's relations with the militant group have been on the decline since the military ousted former President Mohamed Morsy.

JUST WATCHED Egypt in transition Replay More Videos ... MUST WATCH Egypt in transition 06:04

The nation's military government has been cracking down on Islamist groups, including the Muslim Brotherhood.

Morsy, along with other members of the group, face prison-break charges stemming from a January 2011 uprising that toppled longtime strongman Hosni Mubarak.