CAIRO — The brazen daylight assassination of a police general in Cairo underscores the growing insecurity in Egypt, as it awaits an announcement from its army chief to run for the presidency.

Ansar Beit al-Maqdis, an al-Qaeda-inspired group from the restive Sinai Peninsula, said it shot dead General Mohamed Saeed outside his home in western Cairo Tuesday, and threatened more such attacks.

The killing came a day after Egypt’s top brass backed Field Marshal Abdel Fattah el-Sissi to run for the presidency, which he is expected to win easily if he does.

El-Sissi, 59, has said he would stand for the election to be held by mid-April if there was “popular demand”.

“Vengeance is coming,” Ansar Beit al-Maqdis said, addressing el-Sissi and interior minister Mohamed Ibrahim.

In just over six months, el-Sissi has won accolades from a vast section of Egyptians for ousting Islamist president Mohamed Morsi on July 3 and crushing his Muslim Brotherhood.

A el-Sissi victory would keep alive a tradition of presidents drawn from the military, but the road ahead is expected to be riddled with political turmoil and security challenges.

The Brotherhood, now banned as a “terrorist” group, criticized the army’s backing for el-Sissi.

“Now it is evident that what happened on July 3 was a full-fledged military coup,” it said.

“The military council, whose main mission is to protect and not rule, mandated its chief, the leader of the coup, to run for the presidency, so the military can dominate political life in Egypt when it should remain far away from politics.”

General Saeed’s killing and later that of a police guard outside a Cairo church highlights the precarious security situation since the 2011 overthrow of veteran strongman Hosni Mubarak, with the violence having worsened since Morsi’s removal.

On Wednesday, gunmen shot dead a policeman in the Nile Delta province of Sharkiya, security officials said.

As part of the crackdown, 20 Al-Jazeera staff — including award-winning Australian journalist Peter Greste, two Britons and a Dutch woman — were referred to trial on Wednesday.

The authorities have been incensed by the network’s coverage of their campaign against the Islamists.

The foreigners were accused of “airing false news” among other charges. The remaining 16 — all Egyptians — were charged with belonging to a “terrorist” group.

Al-Jazeera said “these are silly charges and not based on any reality.

“This is a challenge to freedom of speech and the right of journalists to report different aspects of events, and the right of the people to know what is happening.”

The media condemned Saeed’s killing.

“Terrorism assassinates general,” declared the front-page headline of state-run al-Gomhuria, while al-Akhbar said “Bullet of treachery assassinates general.”

El-Sisi’s supporters feel he is the only person capable of restoring stability in Egypt.

The interim leaders have even altered a roadmap for democratic transition by announcing the presidential election will be held before a legislative vote.

“I would have preferred a presidential election comprising civilian candidates to install a civilian democracy,” said Alfred Raouf of the liberal al-Dostour party.

“But I can understand that people want el-Sissi to be candidate, as given their security fears they want a strong man” to head the country.

Ansar Beit al-Maqdis vowed to target “the economic interests of the regime, which comprises the gas pipeline to Jordan that sends billions of Egyptian pounds in the pockets of el-Sissi and his generals.”

It said it would “widen its economic war on (the) traitor clique until it defeats it”.

Later, SITE Intelligence Group published a statement from one of its fighters, Abu Osama al-Masri, urging soldiers to mutiny and threatening them if they do not.

“We will target you as we target your commanders… and what is coming next is more cunning and more bitter.”

The Brotherhood, which renounced violence decades ago, has condemned these attacks, but that has not stopped it from being declared a terrorist organisation.