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 conflict Hamas militants and a Palestinian Islamic Jihad militant. On 12 November, a large demonstration dedicated to the memory of late Palestinian Authority President Yasser Arafat was organized by Fatah in Gaza City. With over 200,000 participants, this was the largest Fatah demonstration in the Gaza Strip since the Hamas takeover. The demonstration was forcibly dispersed by Hamas gunmen, who fired into the crowd. At least six civilians were killed and over 80 people were injured, some from being trampled in the resulting stampede. The smaller militant group Islamic Jihad, whose members have clashed with Hamas several times, condemned the shootings.