A ceasefire between Israel and the Palestinian militant group Hamas in the Gaza Strip has come into effect.
The ceasefire began early on Friday, bringing to an end 11 days of fighting in which more than 250 people were killed, most of them in Gaza.
Palestinians poured on to the streets of Gaza soon after the truce began, while a Hamas official warned the group had not let down its guard.
Both Israel and Hamas have claimed victory in the conflict.
US President Joe Biden said the ceasefire brought a “genuine opportunity” for progress.
Soon after it started at 02:00 on Friday (23:00 GMT on Thursday), large numbers of Palestinians took to the streets in cars and on foot to celebrate. In Gaza, drivers honked their horns, while loudspeakers from mosques pronounced “the victory of the resistance”.
Israel’s military said it was removing nearly all emergency restrictions on movement throughout the country.
Fighting broke out 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 243 people, including more than 100 women and children, were killed in Gaza, according to its health ministry. Israel has said it killed at least 225 militants during the fighting. Hamas has not given casualty figures for fighters.
In Israel 12 people, including two children, were killed, its medical service says.
The Israeli military says more than 4,300 rockets were fired towards its territory by militants and that it struck more than 1,000 militant targets in Gaza.
How did the two sides announce the truce?
The Israeli Political Security Cabinet said on Thursday night it had “unanimously accepted the recommendation” for a ceasefire.
“The political leaders emphasised that the reality on the ground will determine the future of the campaign,” it said.
One resident in Tel Aviv told Reuters news agency: “It’s good that the conflict will end, but unfortunately I don’t feel like we have much time before the next escalation.”
A Hamas official told the Associated Press news agency the ceasefire announced by Israel amounted to a “victory” for the Palestinian people.
This view was shared by people celebrating on the streets of Gaza. “This is the day of victory, the day of freedom, and it is the most beautiful day that we’ve experienced,” one said.
But Basem Naim, from the Hamas Council on International Relations, told the BBC he was sceptical about whether the truce would last “without justice for Palestinians, without stopping the Israeli aggression and Israeli atrocities”.
A member of Hamas’s political bureau, Izzat al-Reshiq, issued a warning to Israel.
“It’s true that the battle ends today but [Israel’s Prime Minister Benjamin] Netanyahu and the whole world should know that our finger is on the trigger and we will continue to ramp up the capabilities of this resistance,” he told Reuters.
Survivors are not claiming victory
Just as in the other wars since Hamas took over in Gaza in 2007, the two sides are claiming victory.
A senior Hamas leader told the BBC in Gaza that Israel had promised to “lift their hand off Sheikh Jarrah and Al-Aqsa Mosque”. He was referring to one of Islam’s holiest mosques and the Jerusalem district which became a flashpoint during an attempt to evict Palestinian families from their homes.
Israel denied there was any such understanding. Benny Gantz, the defence minister, issued a statement saying that after the past 11 days Israel can show military achievements “unprecedented in their scale and strategic significance for the struggle with terrorist organisations in Gaza”.
On both sides survivors and the bereaved from missiles and bombs are not claiming victory. By far the majority of the dead and injured are Palestinians in Gaza, which also suffered hundreds of millions of dollars of physical damage.
Both sides have also been crafting what is referred here sometimes as victory narratives.
It is the fourth big war between Israel and Hamas since the first one back in the end of 2008 and after each of those encounters, and all the smaller ones in between, similar things have been said by both sides in claiming victory and then essentially the seeds of the next conflict are sown. I can tell you one thing for certain – that if the status quo does not change favourably, there will be another round of this.
What position did Biden take?
US President Joe Biden commended Mr Netanyahu in a phone call after the ceasefire agreement was announced.
He said the US – Israel’s closest and most important ally – fully supported the country’s “right to defend itself against indiscriminate rocket attacks”.
He also praised Egypt’s President Abdul 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 remained “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, which is run by Hamas rival Mahmoud Abbas and based in the Israeli-occupied West Bank.
Egypt’s president said he had received a phone call from Mr Biden with “utter happiness”, adding that they had “exchanged visions around reaching a formula that would calm the current conflict between Israel and Gaza”.
British Prime Minister Boris Johnson also welcomed the ceasefire, but said both sides must now find a “durable solution” to the conflict.
Timeline: How the violence escalated
The worst violence in years between Israel and the Palestinian territory of the Gaza Strip has seen dozens killed. It follows a month of spiralling tensions before open conflict broke out. Here is what happened in the lead-up to the fighting.
Clashes erupt in East Jerusalem between Palestinians and Israeli police.
Palestinians are angry over barriers which had been placed outside the Damascus Gate entrance to the Jerusalem‘s Old City preventing them from gathering there after prayers at the Old City’s al-Aqsa Mosque on what is the first night of the Islamic holy month of Ramadan.
Palestinian discontent had been stoked earlier in the day when President Mahmoud Abbas called off planned elections, implicitly blaming Israel over voting arrangements for Palestinians in East Jerusalem.
Hamas – Mr Abbas’ Islamist rivals who control Gaza and were running in the elections – react angrily to the postponement.
Violence around Damascus Gate and elsewhere in East Jerusalem continues nightly.
Rockets are fired from Gaza at Israel, which responds with air strikes after a relative period of calm between Israel and the Palestinian enclave.
Clashes spread to the mixed Arab-Jewish port city of Jaffa, next to Tel Aviv.
In Jerusalem, Jewish youths, angry over a spate of filmed assaults by Palestinians on Orthodox Jews posted on the TikTok video-sharing app, attack Arabs and chant anti-Arab slogans.
Hundreds of ultra-nationalist Jews shouting “Death to Arabs” march towards Damascus Gate in protest at the Arab assaults on Jews. Clashes erupt at the site between Palestinians and police trying to separate the two groups, injuring dozens of people.
Violence between Arabs and Jews spreads to other parts of the city.
Militants fire dozens of rockets at Israel from Gaza, drawing retaliatory air strikes.
President Abbas’ Fatah faction and Hamas condemn the looming threatened eviction of Palestinian families from their homes in the Sheikh Jarrah district of East Jerusalem by Jewish settlers ahead of a planned court hearing. Hamas calls on Arabs to form “human shields of resistance” there.
In the days that follow, police and protesters repeatedly clash at the site as it becomes a focal point for Palestinian anger.
Militants in Gaza begin sending incendiary balloons into Israel over successive days, causing dozens of fires.
Two Palestinian gunmen are shot dead and a third is wounded after opening fire on Israeli security forces in the northern West Bank. Israeli authorities say the group planned to carry out a “major attack” in Israel.
Later on after Friday prayers – the last of Ramadan – major clashes erupt at the al-Aqsa mosque compound, injuring more than 200 people. Israel’s police force says it used “riot dispersal means”, firing rubber bullets and stun grenades after officers came under a hail of stones and bottles.
A second night of violence erupts in East Jerusalem after tens of thousands of worshippers prayed at the al-Aqsa mosque for Laylat al-Qadr, the holiest night of Ramadan.
Police and protesters clash at Damascus Gate, with police using water cannon, rubber bullets and tear gas against crowds of Palestinians, some throwing stones.
More than 120 Palestinians and some 17 police are injured.
Israel’s Supreme Court postpones the hearing on the Sheikh Jarrah case following calls to delay it because of the growing unrest. Tensions remain high though and more clashes take place between Israeli police and Palestinians in Sheikh Jarrah and at Damascus Gate.
Early morning clashes break out between police and Palestinians at the al-Aqsa mosque compound, where crowds throw stones and officers fire stun grenades.
Palestinian anger has been inflamed by an annual Jerusalem Day march planned for later in the day by hundreds of Israeli nationalists to celebrate Israel’s capture of East Jerusalem in 1967.
The march is due to pass through predominantly Arab parts of the Old City in what is seen by Palestinians as a deliberate provocation. It is rerouted at the 11th hour, but the atmosphere remains volatile with more than 300 Palestinians and some 21 police injured in the violence at the holy site.
Hamas issues an ultimatum to Israel to “withdraw its soldiers… from the blessed al-Aqsa mosque and Sheikh Jarrah” by 18:00. When the deadline passes without an Israeli response, rockets are fired towards Jerusalem for the first time in years.
Israeli Prime Minister Benjamin Netanyahu says the group has “crossed a red line” and Israel retaliates with air strikes, killing three Hamas fighters.
A continuing exchange of rocket-fire and air strikes quickly escalates into the fiercest hostilities between the two sides since they fought a war in 2014.