when Abbas resigned as Prime Minister, and was replaced by Hakam Balawi. He repeatedly tried to campaign on a reform and anti-corruption ticket and tried to profile himself as an outspoken critic of Arafat, although many observers dispute his personal integrity. Nevertheless, Dahlan and his followers in internal Fatah elections won over most of the Fatah sections in Gaza. In 2004, Dahlan was assumed to have been behind week-long unrest in Gaza following the appointment of Arafat's nephew Moussa Arafat as head of Gaza police forces. This appointment was considered by some a deliberate step to weaken Dahlan's position before the Israeli disengagement from the Gaza strip and sparked massive protests. Gaza infighting On January 26, 2006, Dahlan was narrowly elected to the Palestinian Legislative Council in the Palestinian legislative election of 2006 as a representative for Khan Yunis. Dahlan took a tough stance against Hamas, calling their election victory a disaster and threatening to 'haunt them from now till the end of their term' and to 'rough up and humiliate' Fatah supporters tempted to join the Hamas-led Palestinian government. On December 14, 2006 gunmen attempted to assassinate Palestinian Prime Minister Ismail Haniyeh as he crossed Gaza's border with Egypt, killing a bodyguard and wounding five others, and sparking further clashes between Hamas and Fatah supporters in Gaza and the West Bank. Hamas accused Dahlan of orchestrating the attack. Dahlan rejected the accusations, saying, "the Hamas government is fully responsible for yesterday's events." On January 7, 2007, Dahlan held the biggest-ever rally of Fatah supporters in the Gaza Strip, where he denounced Hamas as 'a bunch of murderers and thieves' and vowed that 'we will do everything, I repeat, everything, to protect Fatah activists'. In response Hamas labeled Dahlan a 'putschist' and accused him of bringing Palestinians to the brink of civil war. Dahlan was a Fatah representative in negotiations which resulted in the Fatah–Hamas Mecca Agreement of February 8, 2007, in which both sides agreed to stop the military clashes in Gaza and form a government of national unity. In March 2007, despite objections from Hamas, Dahlan was appointed by Palestinian President Mahmoud Abbas to lead the newly re-established Palestinian National Security Council, overseeing all security forces in the Palestinian territories. Dahlan organised paramilitary units of several thousand fighters trained with American assistance in Arab countries, and lobbied Israel to allow Fatah forces in Gaza to receive large shipments