Hamas released a second group of hostages on Saturday, the Israeli military said, as a four-day cease-fire continues between Israel and the Palestinian militant group in the Gaza strip.

Thirteen Israelis and four Thai nationals were released, the military said, while Israel on Sunday freed 39 Palestinians who have been held in prison, according to local media.

A Red Cross vehicle carrying Israeli hostages drives at the Rafah border crossing from the Gaza Strip into Egypt on Nov. 25, 2023. (AP/Kyodo)

Among the freed Israelis are five women and eight children.

The move comes after Hamas released 24 hostages when the four-day cease-fire began Friday on the basis of an agreement reached between the two parties.

Under the deal, Hamas will release 50 hostages, while Israel will free 150 Palestinian prisoners. Hamas said Gaza will receive humanitarian aid during the period, consisting of 200 aid trucks and four trucks carrying fuel per day.

The truce came after Hamas launched a surprise cross-border attack on Oct. 7, seizing over 230 hostages, followed by a protracted air and ground assault into Palestinian territories by Israel in response.

Related coverage:

Hamas releases 24 Gaza hostages on Day 1 of cease-fire with Israel

Gaza cease-fire begins, Hamas set to release hostages

Israel approves 4-day cease-fire with Hamas for hostage release