The agreement was reached after intensive mediation by Qatar and Egypt. Qatari envoy Mohammed al-Emadi had gone back and forth between the two sides to ensure the ceasefire. Previous attempts to mediate a ceasefire between the two rival factions have failed, including a prisoner exchange agreement in 2012 and a short-lived unity government two years later. Numerous attempts at reconciliation, including a prisoner exchange agreement in 2012 and a short-lived unity government two years later, have failed to bridge the gap. “The Israeli government must do what it knows how to do and what it has done in the past – eliminate terrorists in Gaza and the heads of terrorist organizations. The peace agreements with the Emirates and Bahrain must be used for regional cooperation that benefits us and Gaza,” Davidi said. Palestinians have condemned the normalization agreements as a betrayal of their struggle to end decades of Israeli occupation of their country. While the European Union has supported Palestinian reconciliation and elections as important steps towards a possible Israeli-Palestinian peace deal, Israeli Prime Minister Benjamin Netanyahu condemned the deal and said it was impossible to achieve peace with a government that has locked Hamas in. He said: “It is either peace with Hamas or peace with Israel. You can`t have both.  A meeting of the secretaries-general of the political groups will be held shortly to announce the details of Thursday`s agreement, while discussing the working mechanism until the elections. A Hamas official said on the 1st If Israel does not meet the conditions of the ceasefire agreement with Gaza rules by the end of two months, there could be a further escalation of violence on the southern border. The agreement is expected to house 3,000 Palestinian Authority police officers in the Gaza Strip.
 Azzam al-Ahmad, head of the Palestinian Authority delegation, said that the Rafah crossing between Egypt and Gaza would be run by PA President Mahmoud Abbas` presidential guards until November 1, 2017.  The 2017 Fatah-Hamas agreement is a reconciliation agreement signed on October 12, 2017 between Fatah and Hamas. The agreement was negotiated by Egypt and signed in Cairo. The agreement was signed by Fatah delegation chief Azzam al-Ahmad and deputy head of Hamas` political bureau, Salah al-Arouri.  A Hamas source said there had been a “total halt” to hot air balloon and other strikes against Israel, in agreement with other factions in the coastal strip, which has about 2 million people.