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 days, the US recognized Abbas' emergency government and ended a 15-month economic and political boycott of the Palestinian Authority in a bid to bolster President Abbas and the new Fatah-led government. The European Union similarly announced plans to resume direct aid to the Palestinians, while Prime Minister Ehud Olmert of Israel said it would release to Abbas Palestinian tax revenues that Israel had withheld since Hamas took control of the Palestinian Parliament. The attacks of Hamas gunmen against Fatah security forces in the Gaza Strip resulted in a reaction of Fatah gunmen against Hamas institutions in the West Bank. Although