Main points of Gaza ceasefire agreement Hamas has accepted a ceasefire deal with Israel, bringing an end to more than 15 months of war, following negotiations brokered by Egyptian and Qatari mediators FIRST PHASE (42 days) Hamas releases 33 Israeli hostages, including female civilians and soldiers, children and civilians over 50 Israel releases 30 Palestinian prisoners for each civilian hostage and 50 for each female soldier Halt to fighting, Israeli forces move out of populated areas to 1km-wide buffer zone inside Gaza Israeli forces pull out of Netzarim Corridor but retain control of Philadelphi Corridor throughout first phase Displaced Palestinians begin to return to their homes, more aid enters Gaza SECOND PHASE (42 days) Declaration of “sustainable calm” Hamas frees remaining male hostages (soldiers and civilians) in exchange for a yet-to-be-negotiated number of Palestinian prisoners and full withdrawal of Israeli troops from Gaza THIRD PHASE Bodies of deceased Israeli hostages exchanged for bodies of deceased Palestinian fighters Implementation of reconstruction plan in Gaza Reopening of border crossings for movement in and out of Gaza Mediterranean Sea GAZA STRIP Gaza City Netzarim Corridor Khan Younis ISRAEL Philadelphi Corridor EGYPT Rafah 5km 3 miles Border crossings Buffer zone Source: Associated Press Picture: Getty Images © GRAPHIC NEWS