JERUSALEM (AP) — The Latest on the outbreak of violence between Israel and Gaza’s Hamas rulers (all times local):

5:40 p.m.

Palestinian militant groups in the Gaza Strip say they have accepted an Egyptian-mediated cease-fire amid a major flare-up of violence with Israel.

Hamas and smaller armed groups announced the cease-fire in a joint statement late Tuesday.

The deal would end the heaviest round of fighting between Israel and Hamas since a 2014 war.

Terms of the deal were not immediately known, and there was no immediate comment from Israel.

___

5:15 p.m.

The leader of the Hamas militant group has signaled a readiness to halt the latest round of fighting with Israel.

Ismail Haniyeh said Tuesday that his group will stop its rocket fire on Israel if Israel halts its airstrikes.

In a statement, Haniyeh said “the Palestinian resistance is defending its people and itself before the Israeli aggression,” adding that “if the occupation stops its aggression, it’s possible to return to the cease-fire understandings.”

Gaza militants have fired hundreds of rockets into Israel over the past 24 hours as Israel has struck militant targets across Hamas-ruled Gaza. The violence was triggered by a botched Israeli military raid on Sunday in which seven Palestinians and an Israeli officer were killed.

___

5 p.m.

Israel’s Security Cabinet has ordered the military to continue strikes in Gaza “as is necessary,” signaling that the latest flare-up of violence may be far from over.

Israeli Prime Minister Benjamin Netanyahu convened his Security Cabinet Tuesday to plot a way forward amid the fighting. Rocket fire and airstrikes continued throughout the six-hour meeting. 

The Israeli military says some 400 rockets and mortar shells have been launched from Gaza since Monday afternoon, with about 100 of them intercepted by Israel’s Iron Dome defense system. 

Israel said it has struck more than 100 targets it says are linked to militants in Gaza, including a strike that destroyed the TV station of the ruling Hamas militant group.

At least seven Palestinians, among them five militants, have been killed during the fighting. A Palestinian man working in Israel was killed after a rocket hit the building he was in.

___

4:30 p.m.

Israeli media are reporting that a meeting of the Security Cabinet has ended after more than six hours.

Israeli Prime Minister Benjamin Netanyahu convened the meeting of ministers Tuesday to plot a way forward amid an intense flare-up of fighting with the Islamic militant group Hamas, which rules the Gaza Strip.

No official statement was released following the meeting, and it remained unclear what if anything had been decided.

The heavy exchange of fire, which was triggered by a botched Israeli undercover raid into Hamas-ruled Gaza late Sunday, marked the most serious escalation since an Israel-Hamas war in 2014.

___

11:55 a.m.

The man killed in a Palestinian rocket attack in southern Israel has been identified as a 48-year-old Palestinian laborer who had been working in the Israeli city of Ashkelon.

Relatives say Mahmoud Abu Asbeh had worked in Ashkelon for 15 years, leaving his West Bank village of Halhoul each Sunday and returning home on weekends.

His cousin Jihad Abu Asbeh called it a “big shock” and says the entire village is sad. He says it was “God’s will and there’s nothing we can do about it.”

Mahmoud’s body was found in the rubble of a building struck by a rocket fired from Gaza. His cousin says Mahmoud was married with six children.

___

8:55 a.m.

The armed wing of Hamas says it will step up attacks and fire rockets at Israeli towns of Ashdod and Beersheba if Israel continues to carry out airstrikes in Gaza.

The warning was issued on Tuesday, hours after a rocket fired from Gaza killed an Israeli man in a direct hit on a residential building in the coastal town of Ashkelon. The rocket was fired after an Israeli airstrike destroyed Hamas’ TV building in Gaza.

The spokesman for the Hamas military wing, identified only as Abu Obeida, said in a statement that Ashkelon “has entered the range of fire as a response to the bombing of buildings in Gaza.”

He says that Ashdod and Beersheba “are the next targets if the enemy continues bombing civilian buildings.”

Of the three cities, Ashkelon is closest to Gaza.

___

8 a.m.

Israeli medical services say a man has been killed by a rocket that hit an apartment building in southern Israel and a woman was critically wounded.

Magen David Adom says the two were trapped in an apartment in Ashkelon that was struck by a rocket from Gaza early on Tuesday. It’s the first casualty in Israel from the most intensive wave of attacks since the 2014 Gaza war.

Gaza militants pummeled Israel overnight with dozens of rockets and the Israeli military responded with strikes against militant targets in Gaza.

The military says there were some 370 launches from Gaza since the current round began on Monday afternoon. About 100 of them were intercepted by Israel’s Iron Dome defense system.

Israel has struck more than 100 militant targets in Gaza.