Thirteen Israelis and four Thai nationals arrived in Israel on Sunday in the second release of hostages from Hamas captivity in exchange for Palestinian prisoners.
The captives were handed over to the International Committee of the Red Cross late on Saturday.
Six of the 13 Israelis released were women and seven were teenagers or children.
Meanwhile, Israel released 39 Palestinians - six women and 33 minors - from two prisons, the Palestinian news agency WAFA said.
Some of the Palestinians arrived at Al-Bireh Municipality Square in Ramallah in the Israeli-occupied West Bank, where thousands of people awaited them.
Saturday's swap follows the previous day's initial release of 13 Israeli hostages in return for the release of 39 Palestinian women and teenagers from Israeli prisons.
On Friday, Hamas also released a Philippine national and 10 Thai farm workers.


Venezuela quake death toll nears 3,000 as rescue effort winds down
Eight injured in New York shooting
Trump appears on National Mall for July 4 speech after storm-related delay
Qatar says all maritime activities will resume immediately
St. Petersburg region port, oil terminal hit in Ukrainian drone attack
Thousands protest in Germany as far-right AfD sets sights on power
Trump extols America, rails at communism in US 250th celebration
Zelenskyy denies Russian capture of key eastern city Kostiantynivka
