After a quiet night with no rocket fire from Gaza, the truce announced between Israel and the Palestinian Islamic Jihad remained in place on Sunday.
Security measures remain in place in the Gaza border communities and in the southern city of Ashkelon but were lifted off other communities at a distance of 40 kilometers (25 miles) from the border and the crossings into the Strip will open to allow supplies in.
The last siren was heard in the Gaza border area on Saturday over an hour after the announced troop came into effect, following the identification of two launches from the Gaza Strip. The Iron Dome missile defense system intercepted one of them, while the other exploded in an open area. Shortly before midnight, the IDF began to attack Islamic Jihad targets in response.
"In light of the agreement of the Palestinian and the Israeli side, Egypt announces a ceasefire between the Palestinian and the Israeli sides has been reached," a text of the agreement seen by Reuters read.
National Security Council head Tzahi Hanegbi thanked Egyptian President Abdel Fattah el Sisi for his help in bringing about an end to the fighting.
"The two sides will abide by the ceasefire which will include an end to targeting civilians, house demolition, an end to targeting individuals immediately when the ceasefire goes into effect," it said.
In a statement Prime Minister Benjamin Netanyahu said late on Saturday, "Quiet will be met with quiet and if Israel will be attacked or threatened, it shall continue to do what it must in order to defend itself," the statement said.
Islamic Jihad also confirmed the agreement. "We declare our acceptance of the Egyptian announcement and we will abide by it as long as the occupation (Israel) abides by it," the group's spokesman, Dawoud Shehab, said.
White House Press Secretary Karine Jean-Pierre welcomed the ceasefire on Saturday night, joining the Israeli government in acknowledging Sisi's and Egypt's mediation efforts, and thanking Qatar's Emir Sheikh Tamim bin Hamad al-Thani.
Even as the truce was being finalized, the two sides kept up firing, with air raid sirens sounding as far as Tel Aviv's suburbs as the military announced it had hit Islamic Jihad targets in response to rocket fire.
nearly 1500 rockets were launched at Israeli communities and 422 strikes were attacked by the IDF since the fighting began last Tuesday. Two people were killed by rocket fire in Israel and six commanders of the PIJ died in targeted killings. In total, 33 people were killed in Gaza, including at least 13 civilians.
Though happy about the news of the truce, some Gaza residents, weary of repeated flare-ups, feared that another round of fighting would erupt before long. "We want the truce to be based on principles, not like in the past when after a calm (truce) people died," said resident Munir Marouf, 43.