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–Hamas reconciliation process On 8 February 2007, Fatah and Hamas sign the Fatah–Hamas Mecca Agreement, agreeing to stop the military clashes in the Gaza Strip and the formation of a national unity government. On 23 March 2008, Hamas and Fatah sign the Sana'a Declaration that called for a return of the Gaza Strip to the pre-June 2007 situation. Disagreement about the interpretation immediately appeared. Fatah said that Hamas should relinquish its hold on Gaza first, while Hamas demanded the reinstatement of the Hamas-led unity government. On 8 November 2008, reconciliation talks due to be held in Cairo called off after Hamas announced a