Hamas took control of Gaza by force in June 2007, after winning the January 2006 legislative election and months of fighting with Fatah. Hamas forces seized security headquarters and government buildings; President Mahmoud Abbas dismissed the unity government and appointed an emergency cabinet led by Salam Fayyad. Hamas remained the de facto authority in Gaza.
From election victory to armed conflict
Hamas ran as the Change and Reform list and won 74 of the Legislative Council’s 132 seats in January 2006. Fatah won 45. The House of Commons election review also records the 74-to-45 seat result. Hamas formed a government, while Abbas, the president and a Fatah leader, retained authority over the PA’s security services. The two sides disputed control of ministries and armed forces. In April 2006, Hamas established an Executive Force alongside existing security agencies, deepening the struggle over who commanded policing in Gaza.
A Saudi-brokered agreement in February 2007 produced a national unity government headed by Hamas leader Ismail Haniyeh. It did not resolve control of the security forces. Fighting resumed, and on June 14 Hamas completed its seizure of Gaza’s key institutions. The UK Foreign Affairs Committee report records the armed takeover and the Human Rights Watch report on the 2007 fighting documents Hamas forces taking Gaza’s security facilities and government buildings. It also records Abbas’s June 14 emergency declaration and Fayyad appointment.
June 14 created two rival administrations
On June 14, Abbas declared a state of emergency, dissolved the unity government and dismissed Haniyeh. Three days later, Abbas swore in Fayyad’s emergency cabinet. Hamas rejected the dismissal and kept control of Gaza’s police, ministries and public offices. The result was a Hamas administration in Gaza and a Fatah-led PA administration based in Ramallah.
Those results gave Hamas parliamentary seats through the election process; it did not authorize the armed seizure of rival institutions or subsequent rule without another legislative election. The sequence was election, failed power-sharing, armed takeover, then rival administrations. That timeline distinguishes Hamas’s electoral victory from the separate decision to seize rival institutions by force. For how that control affected protest and public criticism, see Hamas’s suppression of dissent.
What changed after the takeover
Hamas controlled Gaza’s security apparatus and government functions, while the Ramallah administration continued to claim authority over the territory. This division shaped later disputes over governance, public revenue and security. The 2007 takeover is also the starting point for understanding Hamas’s taxation of local commerce and its control of Gaza’s institutions, covered in the revenue explainer.