Hours after violence flared between Israel and Hamas for the second time in a week, prompting renewed fears that Gaza could slide quickly into an all-out war, reports that a ceasefire has been restored surfaced.
The escalation began in the late afternoon, when an Israeli soldier died after being hit by gunfire during protests along the fence that separates Israel and Gaza, the Israel Defense Forces (IDF) said.
It was the first Israeli soldier killed on the fence since the last war between Israel and Hamas in 2014, the IDF said.
The IDF's initial response was tank and artillery fire.
Four people were killed in that salvo, according to the Palestinian Ministry of Health.
Hamas, the militant group that runs the coastal enclave, said in a Whatsapp message to journalists that three of the four men killed were members of its armed Qassam Brigades.
The IDF said that, in addition to the shooting incident, there were also multiples explosives thrown toward Israeli soldiers during the unrest at the fence.
The Israeli air force then launched a series of what it called wide-scale attacks on dozens of Hamas military targets across the coastal enclave.
The IDF said it had succeeded in eliminating a Hamas battalion's command and control capabilities, a drone warehouse, aerial defense systems and a factory used for underground infrastructure manufacturing, among other sites hit.
Later Friday, the army said at least three rockets were fired toward Israel from Gaza; two of the launches were intercepted by the Iron Dome aerial defense system.
There were no reports of any casualties from the rocket fire.
Nickolay Mladenov, the UN's chief Middle East envoy, called on the two sides to step back from further escalation.
"Everyone in Gaza needs to step back from the brink. Not next week. Not tomorrow. Right NOW! Those who want to provoke Palestinians and Israelis into another war must not succeed," he tweeted.
Israeli Defense Minister Avigdor Liberman told Mladenov in a phone conversation that if Hamas continued to fire rockets toward Israel, the response will be "much stronger" than they think, according to a statement Liberman's office released.
"The responsibility for the destruction and the loss of life will be on Hamas," Liberman said.
Hamas spokesman Fawzi Barhoum said in a statement, "Attack will be met with attack. Our people will continue until they get their rights and end the blockade, because they have the right to live freely."
As Friday evening progressed, reports started to emerge that Egypt and the UN's Mladenov were leading mediation efforts between the two sides.
And shortly after midnight local time (5 p.m. Friday ET), Hamas, and a diplomatic source with direct knowledge of the talks, told CNN that the ceasefire had been restored.
"Egyptian and international efforts have led to a return to the previous state of calm between the Occupation [a reference to Israel] and the Palestinian factions," Hamas spokesman Fawzi Barhoum told CNN.
There was no immediate response from Israel to reports of the ceasefire restoration.
It's the second time in six days that Egypt has brokered a ceasefire for Gaza following a serious escalation in violence.
Last Saturday, Israel pounded Gaza with dozens of airstrikes after the IDF said militants fired more than 200 rockets and mortars toward Israel.
A day after that ceasefire was announced, Israeli Prime Minister Benjamin Netanyahu told his weekly Cabinet meeting that Israel would never make any truce agreement that failed to take account of the arson attacks being launched from Gaza using kites and balloons.
Tension along the fence has been simmering for months, at times erupting into violence. Recent weeks have also seen a sharp increase in the number of arson attacks, a low-tech threat to which Israel has struggled to find an answer.
The violence has also stymied international attempts to alleviate conditions for the two million people living in Gaza.
Israel has maintained a land, sea and air blockade on the coastal enclave since June 2007, when Hamas took over Gaza.
The blockade effectively locks the more than 2 million Gaza residents inside the territory and is seen by the UN as a major contributor to the deterioration of living conditions there. Israel says it's a necessary security measure.
- Shaky ceasefire restored after Israel and Hamas exchange fatal fire
- Hamas says Gaza ceasefire reached following intense fighting with Israel
- Ceasefire reported after more than 24 hours of hostilities between Israel and Hamas
- Israel, Iran exchange fire as tensions escalate
- Israel says it destroyed mile-long Hamas tunnel
- Hamas struggles to co-opt Palestinian uprising against Israel
- Biggest Israel-Gaza firefight since 2014 ends in ceasefire
- 3 Hamas militants killed, 1 Israeli soldier wounded in Gaza exchanges
- The shaky science of lie detectors
- Israel defends secret Gaza operation that led to death of IDF solider and Hamas commander