Thousands gathered in Tel Aviv's Hostages Square to watch the release of the remaining captives as they were handed over to the Israeli military on Monday.

All 20 living hostages held by Hamas and hundreds of Palestinian prisoners held by Israel walked free Monday as part of a ceasefire pausing two years of war that decimated the Gaza Strip and killed tens of thousands of Palestinians.

Hamas said Monday it will hand over the bodies of four of 28 deceased captives, though it was not immediately clear when the rest would be released.

Israel said it freed more than 1,900 Palestinian prisoners as part of the Gaza ceasefire deal.

U.S. President Donald Trump flew to the region and addressed the Knesset, the Israeli parliament.

He later went to Egypt for a summit to discuss the U.S.-proposed deal and postwar plans with other leaders.