Hamas freed 17 hostages held in Gaza, including a four-year-old American girl, while Israel released 39 Palestinian prisoners on Sunday, the third day of their truce.
The International Committee of the Red Cross said it had successfully transferred the hostages from Gaza. Hamas said it had handed over 13 Israelis, three Thais and one with Russian citizenship.
The release of the hostages was mirrored by the freeing of 39 Palestinians, all of whom are teenagers, according to the Palestinian news agency WAFA.
Hamas said it wanted to extend the truce if serious efforts were made to increase the number of Palestinian detainees released by Israel.
US President Joe Biden said he hoped the pause in fighting could go on as long as hostages are getting released. He hoped more Americans would be released by Hamas although he did not have firm news.
He said the four-year-old hostage, Abigail Edan, had witnessed her parents being killed by Hamas fighters during their October 7 raid into Israel and had been held since then.
"What she endured is unthinkable," Biden said at a news conference in the US.
Abigail was on her way to the hospital for checks, Israel's Channel 13 said. Her grandfather, Carmel Edan, told Reuters he "simply could not believe" she had been returned, thanking Biden "for all the help he's offered us".
Palestinians gave the freed prisoners a jubilant reception in Ramallah, according to WAFA.


Lebanese army chief and US general meet on Lebanon security
At least six dead, thousands displaced as heavy rains hit northeastern Brazil
Austrian police arrest man over poisoned baby food case
Trump not satisfied with Iran's latest proposal, will not 'leave war early'
Iran sends proposal for negotiations with US to mediator Pakistan