Fatah–Hamas Mecca Agreement agreement was signed in Doha in 2012, ratified by May 2012 Cairo agreement, both yet failing to promote joint elections. With the boycott of the Hamas, the Palestinian local elections of 2012 took place in October, without participation of Gazan residents. Fatah–Hamas Mecca Agreement The Fatah–Hamas Mecca Agreement was signed between Fatah and Hamas in the city of Mecca on 8 February 2007, agreeing to stop the internal military confrontations in the Gaza Strip and form a government of national unity. Representatives from the Fatah side included the President of the Palestinian Authority Mahmoud Abbas and parliament member Mohammed Dahlan.
Fatah–Hamas conflict that Abbas had been threatening to call early elections for the past five months and that "more threats are not going to work". The announcement of elections provoked high tensions and gun battles between Hamas and Fatah supporters. Abbas strongly denied allegations that members of Fatah and the Force 17 "Presidential Guard" were behind the assassination attempt on Ismail Haniyeh, and he criticized the kidnapping of IDF soldier Gilad Shalit. On 17 December, pro-Fatah gunmen attacked Hamas' Foreign Minister Mahmoud Zahar. Pro-Hamas militiamen retaliated with shots at the home of President Abbas, wounding five guards. A member of Fatah's Force