A picture taken on July 14, 2018 shows a smoke plume rising following an Israeli air strike in the southern Gaza Strip city of Rafah, near the border with Egypt. - Israel's military said it had launched air strikes targeting Hamas in the Gaza Strip on July 14 as rockets and mortars were lobbed into southern Israel from the blockaded Palestinian enclave. (Photo by SAID KHATIB / AFP)        (Photo credit should read SAID KHATIB/AFP/Getty Images)
SAID KHATIB/AFP/Getty Images
A picture taken on July 14, 2018 shows a smoke plume rising following an Israeli air strike in the southern Gaza Strip city of Rafah, near the border with Egypt. - Israel's military said it had launched air strikes targeting Hamas in the Gaza Strip on July 14 as rockets and mortars were lobbed into southern Israel from the blockaded Palestinian enclave. (Photo by SAID KHATIB / AFP) (Photo credit should read SAID KHATIB/AFP/Getty Images)
Now playing
02:00
Hamas claims ceasefire agreement with Israel
TOPSHOT - Palestinian protesters pull a metal cable as they try to take down a section of barbed wire during clashes with Israeli forces on April 20, 2018, east of Khan Yunis, in the southern Gaza Strip during mass protests along the border of the Palestinian enclave, dubbed "The Great March of Return," which has the backing of Gaza's Islamist rulers Hamas. (Photo by SAID KHATIB / AFP)        (Photo credit should read SAID KHATIB/AFP/Getty Images)
SAID KHATIB/AFP/AFP/Getty Images
TOPSHOT - Palestinian protesters pull a metal cable as they try to take down a section of barbed wire during clashes with Israeli forces on April 20, 2018, east of Khan Yunis, in the southern Gaza Strip during mass protests along the border of the Palestinian enclave, dubbed "The Great March of Return," which has the backing of Gaza's Islamist rulers Hamas. (Photo by SAID KHATIB / AFP) (Photo credit should read SAID KHATIB/AFP/Getty Images)
Now playing
02:11
The history of Gaza in 2 minutes
gaza protests state department nauert sot _00010715.jpg
CNN
gaza protests state department nauert sot _00010715.jpg
Now playing
02:37
State Department: Gaza protests 'nothing new'
Details: Security Council 8256th meeting: The situation in the Middle East including the Palestinian Question
UNN TV-3
Details: Security Council 8256th meeting: The situation in the Middle East including the Palestinian Question
Now playing
02:07
Haley: Gaza violence unrelated to embassy move
Ahmad Abu Artema says he is inspired by Martin Luther King Jr and Mahatma Gandhi.
Adam Dobby/CNN
Ahmad Abu Artema says he is inspired by Martin Luther King Jr and Mahatma Gandhi.
Now playing
03:07
Gazan leads uprising against Israel
Now playing
01:42
Merkley: Violence on Gaza border 'horrific'
CNN
Now playing
01:35
US official: Israel has a right to defend itself
Newly appointed Palestinian prime minister, head of Al-Najah University Rami Hamdallah, visits the West Bank city of Nablus on June 4, 2013. Hamdallah, said he would strive to continue the work of his predecessor and that he was ready to stand aside for a Fatah-Hamas unity government. A day after being hand-picked by Palestinian president Mahmud Abbas, Hamdallah's appointment was hailed by the United States. Israeli observers also welcomed the arrival of someone they described as a moderate pragmatist. AFP PHOTO/JAAFAR ASHTIYEH (Photo credit should read JAAFAR ASHTIYEH/AFP/Getty Images)
JAAFAR ASHTIYEH/AFP/Getty Images
Newly appointed Palestinian prime minister, head of Al-Najah University Rami Hamdallah, visits the West Bank city of Nablus on June 4, 2013. Hamdallah, said he would strive to continue the work of his predecessor and that he was ready to stand aside for a Fatah-Hamas unity government. A day after being hand-picked by Palestinian president Mahmud Abbas, Hamdallah's appointment was hailed by the United States. Israeli observers also welcomed the arrival of someone they described as a moderate pragmatist. AFP PHOTO/JAAFAR ASHTIYEH (Photo credit should read JAAFAR ASHTIYEH/AFP/Getty Images)
Now playing
01:20
Palestinian PM survives assassination attempt
:Sammy Al-Sheikh (R) and his wife Maha (L) hold hands with their three-year-old daughter Assil as they walk past destroyed houses in the devastated neighbourhood of Shejaiya in Gaza City on August 7, 2014. Sammy who lives and works in Gaza City expressed hopes for peace and said peace would allow him to return to work. Fears rose that the Gaza conflict could resume as a temporary ceasefire entered a final 12-hour stretch and Palestinians accused Israel of stalling at truce talks in Cairo. AFP PHOTO/ROBERTO SCHMIDT (Photo credit should read
ROBERTO SCHMIDT/AFP/Getty Images
:Sammy Al-Sheikh (R) and his wife Maha (L) hold hands with their three-year-old daughter Assil as they walk past destroyed houses in the devastated neighbourhood of Shejaiya in Gaza City on August 7, 2014. Sammy who lives and works in Gaza City expressed hopes for peace and said peace would allow him to return to work. Fears rose that the Gaza conflict could resume as a temporary ceasefire entered a final 12-hour stretch and Palestinians accused Israel of stalling at truce talks in Cairo. AFP PHOTO/ROBERTO SCHMIDT (Photo credit should read
Now playing
01:30
Hamas to end Gaza administrative committee
history of gaza orig _00020527.jpg
history of gaza orig _00020527.jpg
Now playing
02:13
The history of Gaza
ISRAEL SECURITY AGENCY
Now playing
02:37
Israel arrests two aid workers
SOTU Tapper: Bernie Sanders Israel 'disproportionate' response Gaza_00031418.jpg
SOTU Tapper: Bernie Sanders Israel 'disproportionate' response Gaza_00031418.jpg
Now playing
03:47
Sanders: Israel's Gaza response was 'disproportionate'
Israeli Defence Force
Now playing
03:51
Israeli concerns over Gaza tunnels collapse
israel spiral violence middle east mclaughin pkg_00000000.jpg
israel spiral violence middle east mclaughin pkg_00000000.jpg
Now playing
01:40
Spiral of violence grips the Middle East
gaza school girls walk home drone natpkg_00001018.jpg
gaza school girls walk home drone natpkg_00001018.jpg
Now playing
01:32
A walk home from school in Gaza
idf responds to allegations cnn's package producer nana karikari-apau_00014124.jpg
idf responds to allegations cnn's package producer nana karikari-apau_00014124.jpg
Now playing
02:46
Former soldier: I could shoot whenever, whatever I want
(CNN) —  

Hamas and Islamic Jihad, the two largest militant factions in Gaza, said Saturday a ceasefire agreement was reached with Israel following a serious spike in fighting between the two sides over the past 24 hours.

Two hundred projectiles, including rockets and mortars, were fired toward Israel in the previous 24 hours, Israel Defense Forces said. Israel said it carried out what it called its single largest bombing campaign in Gaza since the 2014 war.

Hamas spokesman Fawzi Barhoum told CNN that “since the start of the Israeli strikes on Gaza, various mediation efforts (led by Egypt) to stop the aggression have succeeded in bringing calm and stopping this aggressive escalation.”

Islamic Jihad spokesman Daoud Shihab told CNN, “There have been great efforts … to bring back calm to Gaza. We have agreed to the Egyptian efforts and agreed to the calm and ceasefire as of 8 p.m. local time (1 p.m. ET), if the Occupation commits to stopping its aggression,” using “Occupation” to refer to Israel.

A spokesman for the Israeli Prime Minister’s office said Israel had no comment to make regarding reports of the ceasefire agreement.

Two Palestinian teenagers, Amir Al-Numra, 15, and Luay Kahil, 16, were killed in an Israeli airstrike Saturday in Gaza, according to Palestinian Ministry of Health spokesman Ashraf Al Qidra. Twelve others were injured.

The Israeli military said it had targeted dozens of military sites in four Hamas military compounds in Gaza, including two Hamas tunnels, weapon depots, training facilities and command centers.

Brig. Gen. Tzvika Haimovic, chief of Israel’s aerial defense command, told reporters that the country’ Iron Dome aerial defense system intercepted more than 20 projectiles, while many of the rest landed in open areas.

Israeli police said bomb disposal experts responded to four sites close to the Gaza perimeter where rockets had struck, causing damage and injuries. Three Israelis were treated with shrapnel wounds, ranging from light to moderate, in the town of Sderot after a rocket landed on their house, according to Israeli medical service spokesman Zaki Heller.

Palestinian rockets are fired Saturday from Gaza City toward Israel.
BASHAR TALEB/AFP/Getty Images
Palestinian rockets are fired Saturday from Gaza City toward Israel.

Gaza protests: 17 Palestinians killed in confrontations with Israeli forces

The escalation followed a day of unrest along the fence between Israel and Gaza.

One Palestinian, Othman Hellas, 15, was killed and 220 injured Friday when the Israeli military used live fire and tear gas on protesters, according to the Palestinian Health Ministry. Another Palestinian, Mohamed Shorab, 20, died Saturday from wounds sustained during Friday’s protests, according to the ministry.

The IDF said Palestinian protesters targeted the fence and Israeli soldiers with explosive devices and firebombs. One Israeli officer was moderately injured when a grenade hit him, the IDF said.

Tension along the Gaza border fence has been simmering for months, at times erupting into violent clashes.

Israel has been accused of using excessive force against protesters, an allegation its leaders have denied.

Israel claims Hamas, the militant group that controls Gaza, is orchestrating the protests.

Earlier this week, Nickolay Mladenov, UN special coordinator for the Middle East peace process, called on Israel and Hamas to step back from further escalation after Israel restricted the passage of goods through the Kerem Shalom crossing into Gaza. Israel clamped down on the crossing after a wave of incendiary and explosive kites were flown from Gaza into Israel in recent weeks.

Kerem Shalom is the main crossing through which goods can enter or exit Gaza. The Israeli military said humanitarian supplies, including food and medicine, would be allowed to cross pending approval on an individual basis.

CNN’s Andrew Carey, Kareem Khadder and Ian Lee reported and wrote from Jerusalem, and Kelly McCleary wrote from Atlanta. CNN’s Larry Register and Ibrahim Dahman contributed to this report.