Hamas released all 20 of the last living hostages on Monday, the Israeli military said, as part of a breakthrough ceasefire after two years of war between Israel and Hamas in the devastated Gaza Strip.

Buses carrying dozens of freed Palestinian prisoners drove to the West Bank city of Ramallah and the Gaza Strip, the Hamas-run Prisoners Office said, as Israel released more than 1,900 prisoners.

U.S. President Donald Trump is in the region to discuss postwar plans and the U.S.-proposed deal with other leaders.

A surge of humanitarian aid was expected into famine-stricken Gaza, where hundreds of thousands of people have been left homeless.

While major questions remain about the future of Hamas and Gaza, the exchange of hostages and prisoners marked a key step toward ending the deadliest war ever between Israel and the militant group.