A total of 39 Palestinian detainees have been released from Israeli prisons in exchange for a group of hostages held by Hamas.
The deal - mediated by Qatar - includes a four-day pause in the fighting.
They are accused of a range of offences, from throwing stones to attempted murder. Some were convicted while others were awaiting trial.
The group of 24 women and 15 teenage boys was released across the Beituniya checkpoint in the occupied West Bank.
They will then be allowed to return home, according to Israel's prison service.
The detainees were chosen from a list of 300 women and minors compiled by Israel.
Less than a quarter of those on the list have been convicted - the vast majority are being held on remand while awaiting trial. Most of those listed are teenage boys - 40% of them under the age of 18. There is also one teenage girl and 32 women.
Earlier, the road by Beituniya checkpoint, near Ramallah, was sharp with the smell of tear gas. Groups of Palestinian men and boys faced the Israeli army lining up on the road ahead.
The army fired rubber bullets and tear gas towards the crowd, to push them back.
Some of the young people gathered threw stones and tear gas canisters back towards the troops.
"It's a sign of hope for Palestinians and Israelis that the ceasefire will continue and the killing will stop," Mohammed Khatib, who was in the crowd, told the BBC.
Upon the prisoners' release, the bus that transported them inched its way through a sea of jubilant Palestinian supporters.
Through the windows, some of the prisoners could be seen dancing, one wrapped in a Palestinian flag. Outside, mobile phones were raised to the glass amid ululations and shouts of welcome and "God is great".
A few in the crowd waved Hamas flags, but others spoke of Palestinian unity, a small moment of victory in the midst of a gruelling war.
For Israel, the released prisoners are a security threat; for the Palestinians gathered here to greet them, they are victims of Israel's occupation - and their release is a symbol.
Thirteen Israeli hostages were released by Hamas under the truce deal. It was confirmed on Friday that they had arrived back in Israel.
The Thai prime minister says that a group of Thai nationals held hostage by Hamas in Gaza were also released - separate from the Qatar-mediated truce deal.
Israel and Hamas reached a deal earlier this week to release 50 of the hostages held in Gaza during four-day pause in fighting.
The agreement should see a total of 150 Palestinians held in Israeli jails released and a significant increase in humanitarian aid allowed into Gaza. Some 60 lorries carrying medical supplies, fuel and food entered from Egypt on Friday.
Hamas took more than 200 hostages during a cross-border attack on southern Israel on 7 October in which 1,200 people were killed.
Human rights organisations say the number of Palestinians held without charge in Israeli jails has shot up since the 7 October attacks.
There are now thought to be more than 6,000 Palestinians held by Israel on security grounds - many still awaiting trial.
Almost every Palestinian family in the West Bank is thought to have had a relative detained by Israel at some point in the past - often in jails inside Israel, making it difficult or impossible for their relatives to visit.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
2 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
3 hours -
Duct-taped banana artwork sells for $6.2m in NYC
3 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
3 hours -
Actors Jonathan Majors and Meagan Good are engaged
3 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
3 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
3 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
4 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
4 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
4 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
4 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
4 hours -
Netflix debuts Grain Media’s explosive film
5 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
5 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
5 hours