Calls for the implementation of the Cairo Declaration, including the formation of a unity government and the cessation of violence between Fatah and Hamas were made in the Fatah–Hamas Mecca Agreement of 8 February 2007. The Hamas government was replaced on 17 March 2007 by a national unity government headed by Haniya comprising Hamas and Fatah ministers. In June 2007, Hamas fighters took control of the Gaza Strip and removed all Fatah officials. President Abbas, on 14 June, declared a state of emergency, and dismissed Haniyeh's national unity government and appointed an emergency government and suspended articles of the Basic Law, to circumvent the needed PNC approval.