A ceasefire between Israel and the Palestinian military group Hamas has come into effect.
The ceasefire began early on Friday, bringing to an end 11 days of bombardment in which more than 240 people have died, most of them in Gaza.
Both Israel and Hamas have claimed victory in the conflict.
On Thursday more than 100 Israeli air strikes targeted Hamas infrastructure in the north of Gaza. Hamas retaliated with rocket fire.
Fighting began in Gaza on 10 May after weeks of rising Israeli-Palestinian tension in occupied East Jerusalem that culminated in clashes at a holy site revered by both Muslims and Jews. Hamas began firing rockets after warning Israel to withdraw from the site, triggering retaliatory air strikes.
At least 232 people, including more than 100 women and children, have been killed in Gaza, according to its Hamas-controlled health ministry. Israel has said at least 150 fighters are among those killed in Gaza. Hamas does not give casualty figures for fighters.
In Israel 12 people, including two children, have been killed, its medical service says. Israel says some 4,000 rockets have been fired towards its territory by militants in Gaza.
The Israeli Political Security Cabinet said it had “unanimously accepted the recommendation” for a ceasefire.
“The political echelon emphasizes that the reality on the ground will determine the continuation of the campaign,” it added.
Israeli Defence Minister Benny Gantz said on Twitter that the Gaza offensive had yielded “unprecedented military gains”.
A Hamas official told the Associated Press that the ceasefire announced by Israel amounts to a “victory” for the Palestinian people and a defeat for Israeli Prime Minister Benjamin Netanyahu.
Soon after the ceasefire started at 02:00am on Friday large numbers of Palestinians took to the streets of Gaza in cars and on foot to celebrate.
Loudspeakers from mosques pronounced “the victory of the resistance achieved over the Occupation during the ‘Sword of Jerusalem’ battle”.
President Joe Biden said he commended Mr Netanyahu in a phone call after the ceasefire agreement was announced.
“The United States fully supports Israel’s right to defend itself against indiscriminate rocket attacks from Hamas and other Gaza-based terrorist groups that have taken the lives of innocent victims in Israel,” Mr Biden said.
He said the Israeli prime minister shared his appreciation for Israel’s US-backed defence system, known as the Iron Dome, “which our nations developed together and which has saved the lives of countless Israeli citizens – both Arab and Jew”.
Mr Biden also praised Egypt’s President Abdel Fattah al-Sisi for brokering the ceasefire, before turning to the human cost of the conflict.
“I send my sincere condolences to all the families, Israeli and Palestinian, who have lost loved ones and my hope for a full recovery for the wounded,” he said.
The president said the US “remains committed to working with the United Nations” in providing humanitarian assistance to Gaza and in reconstruction efforts in the enclave. He added that this would be done “in full partnership with the Palestinian Authority, not Hamas”.
President Sisi said he had received Mr Biden’s phone call with “utter happiness”, adding that they “exchanged visions around reaching a formula that would calm the current conflict between Israel and Gaza”.