Khalil al-Hayya, Hamas's deputy chief in Gaza, said in a statement that "a number of mediators intervened in the past hours and an agreement was reached to return to a ceasefire in Gaza", adding that the group was committed to it as long as Israel was.
Rockets launched by terrorists in Gaza caused serious damage to the infrastructure that supplies electricity to communities in the Hamas-run territory, according to an announcement early Tuesday evening by the Israel Electric Corporation (IEC).
Israeli Prime Minister Benjamin Netanyahu said Hamas and Islamic Jihad, which claimed joint responsibility for the attacks, would "pay a heavy price".
For several weeks, Hamas led violent protests and attacks along Israel's border with the Gaza Strip which it dubbed "The Great March of Return.".
Three Israeli soldiers were injured in Tuesday's barrages, two lightly and a third moderately, the army said. There were no immediate reports of any casualties in the strip.More news: Italy's euroskeptic candidate for economy minister seeks to reassure president
The clashes raised fears of another round of conflict in Gaza.
Islamic Jihad announced an Egyptian-brokered ceasefire agreement with Israel.
Egypt, which shares a border with both Gaza and Israel, stepped in and convinced Palestinian militant groups to accept a truce.
After a day that saw an enormous barrage of rockets and mortars fired at Israelfrom terrorists in the Gaza Strip, red alert sirens have continued late into the night, forcing tens of thousands of Israelis to sleep in protective shelters. He said the factions, including Islamic Jihad, would agree to the cease-fire as long as Israel did the same.
Israel unilaterally withdrew its settlements and military presence from Gaza in 2005. Explosions shook the impoverished territory, which has been blockaded by Israel for more than a decade, and smoke rose from areas hit.More news: Trump says American prisoner in Venezuela has been released
Lieutenant-Colonel Jonathan Conricus, a spokesman for the Israel Defense Forces (IDF), said the most extensive strikes from Gaza since the 2014 war also drew "the largest IDF retaliatory attack" since that conflict.
Israel claims Hamas is responsible for provoking the violence, which the group denies.
Regional councils near the Gaza border instructed residents to stay close to bomb shelters.
On May 10, Iran attacked Israel directly by launching 32 missiles at northern Israel, triggering a massive response in Israel which destroyed more than 50 Iranian targets in Syria. The military noted that they will continue to decisively respond with a "wide range of tools" against Hamas actions that threaten Israeli citizens. He said Islamic Jihad did not want the violence to escalate and blamed Israel for the flare-up.
An earlier statement from the Israeli Foreign Ministry spokesman Emmanuel Nahshon said that Israel was trying to reverse Indonesia's decision, but such efforts seem to have failed, prompting a reciprocal ban.More news: Golden Knights' pregame show was weird start to Stanley Cup
- As Europe's Data Law Takes Effect, Watchdogs Go After Tech Companies
- Warriors roar back to take West, setting up fourth finals against Cavs
- North Korea summit cancellation a setback to dealmaker Donald Trump
- Gallery: The best photos from Daniel Ricciardo's Monaco celebration
- Tesla on autopilot crashes into parked police SUV in Laguna Beach
- New privacy law forces some US media offline in Europe
- Israel starts building fortified maritime barrier on coastal border with Gaza
- Golden Knights edge Capitals in wild Stanley Cup final opener
- Subtropical Storm Alberto Heads Toward Gulf Coast
- How The Warriors Unleashed Klay Thompson