Battle of Gaza (2007) were boycotted by both Hamas and Islamic Jihad. The election resulted in PLO and Fatah chairman Mahmoud Abbas being elected President to a four-year term. On 8 February 2005 the Palestinian Authority President Mahmoud Abbas and Israeli Prime Minister Ariel Sharon announced a cease-fire. On 17 March 2005 Hamas endorsed the ceasefire. On 19 March 2005 twelve Palestinian factions, including Fatah, Hamas, Islamic Jihad, Popular Front for the Liberation of Palestine (PFLP) and Democratic Front for the Liberation of Palestine (DFLP) signed the Palestinian Cairo Declaration, which reaffirmed the status of the Palestine Liberation Organization (PLO) as the sole legitimate
Fatah of Jordan (as well as a number of Fatah commandos) informed Arafat of Israel's large-scale military preparations. Upon hearing the news, many guerrilla groups in the area, including George Habash's newly formed group the Popular Front for the Liberation of Palestine (PFLP) and Nayef Hawatmeh's breakaway organization the Democratic Front for the Liberation of Palestine (DFLP), withdrew their forces from the town. Fatah leaders were advised by a pro-Fatah Jordanian divisional commander to withdraw their men and headquarters to nearby hills, but on Arafat's orders, Fatah remained, and the Jordanian Army agreed to back them if heavy fighting ensued. On