The Fatah–Hamas Doha agreement was signed on 7 February 2012 by President
Mahmoud Abbas and Hamas chief
Khaled Mashal in the presence of
Qatar's emir Sheikh
Hamad bin Khalifa Al Thani, intended to end the
Fatah–Hamas conflict. President Mahmoud Abbas would head a unity caretaker cabinet. The Cabinet would be composed of independent technocrats. The task of the new government would be the preparation for upcoming elections and also overseeing reconstruction efforts in the Gaza Strip. Abbas initially wanted Salam Fayyad as PM, but this was rejected by Hamas. Both parties considered PA Prime Minister
Salam Fayyad and Hamas' Prime Minister
Ismail Haniyeh to become Abbas' deputies. While the European Union supported the Palestinian reconciliation and elections as important steps toward an eventual Israeli–Palestinian peace deal, Israeli prime minister
Benjamin Netanyahu condemned the agreement, saying it would be impossible to reach peace with a government that included Hamas. He said "It is either peace with Hamas or peace with Israel. You can't have them both". ==Aftermath==