The ceasefire was expected to go immediately into effect, with the Israeli military beginning its withdrawal from Gaza, to be followed by the exchange of hostages between Hamas and Israel over the next three days.|