Cairo: Daesh terrorists in Egypt have called for attacks on judges in retaliation for the hanging of six convicted militants and a crackdown on Islamists.

The audio message, posted online on Wednesday night, comes days after militants in the Sinai Peninsula gunned down two judges, a prosecutor and their driver, in the first such attack in Egypt.

Militants who pledged allegiance to the Daesh have killed scores of soldiers and policemen in Sinai since the army toppled Islamist president Mohammad Mursi in 2013.

Mursi’s overthrow unleashed a deadly crackdown on his followers, with hundreds killed in street clashes and thousands imprisoned.

Dozens of people have been sentenced to death, but only seven have been executed, including the six convicted militants who were hanged on May 17 for killing soldiers.

The audio recording hailed the executed men as “brothers and brave lions” and vowed revenge.

“By God, we will seek vengeance for our brothers and others like them, from the party that sentenced them, and the party that implemented the sentence,” it said.

The recording called on Egyptians to free prisoners and attack judges and soldiers.

“The least we can do is kill the tyrants who have jailed our brothers. Don’t let them enjoy security while your brothers are tortured in jail.”

“Poison their food, wait for them outside their homes and on the road, destroy their vehicles, learn to blow them up.”

The Daesh-affiliated group called Sinai Province has spearheaded attacks on the military since Mursi’s ouster, despite a massive army campaign in the restive peninsula bordering Israel and the Palestinian Gaza Strip.