CAIRO — Three homemade bombs went off near Egypt’s presidential palace on Monday, killing two senior police officers and injuring 10 other people on the anniversary of mass protests that led to the ouster of Islamist President Mohammed Morsi.

The devices were planted less than 20 yards away from the walls of the Ittihadiya palace in the upscale Heliopolis district in eastern Cairo, in what appeared to be a serious security breach in the heavily policed area.

It was not immediately clear whether President Abdel-Fattah el-Sissi, who as army chief ousted Morsi last summer, was inside the palace when the explosions occurred.

In a nationally televised speech from the palace later, el-Sissi said the government will spare no effort to go after the culprits and will issue legislation to deter those seeking to destabilize the country.

He did not elaborate, but the government has drafted an anti-terrorism bill that has been delayed by criticism from human rights organizations and liberal politicians as well as the absence of an elected parliament.

“Black terrorism is still trying to stand between the Egyptians’ will, their hopes and aspirations, a terrorism that knows no religion or nation,” el-Sissi said in a pre-recorded speech. “I promise God, their families and their pure souls that the state will avenge their deaths justly and fast.”

El-Sissi stressed that the fight is a regional one, in which he will be cooperating with Arab countries, pushing “new blood” into joint action.

“We will continue to defend our religion and we will deal firmly and forcefully with reactionary forces,” he said.

The government holds Morsi’s Muslim Brotherhood group responsible for the violence that followed his ouster, claiming is seeking to destabilize the new order in cooperation with radical Islamists.

In a stunning reversal of fortunes, the government declared the 86-year old group, which rose to power after Egypt’s 2011 uprising, a terrorist organization. It has arrested thousands of its members and froze the assets of its senior leaders.

Hundreds of its members, including Morsi, face trials on multiple charges.