Leading up to the collapse of the 2013–14 Israeli–Palestinian peace talks, in the face of Netanyahu's perceived reluctance to make desired concessions, Mahmoud Abbas decided to forge a deal with Hamas. With its alliance with Syria and Iran weakened, the loss of power by the Muslim Brotherhood in Egypt after a coup d'ètat in Egypt, and the economic impact of the closure of its Rafah tunnels by Abdel Fattah el-Sisi, on 23 April 2014, ending seven divisive years, Hamas agreed to reconciliation under a unity government with the other main Palestinian faction, Fatah. The government accepted by Hamas was to be run exclusively by PNA technocrats.