Hamas began governing the Gaza Strip in June 2007 when it took over the territory from the rival Fatah-controlled Palestinian Authority (PA). The Hamas administration was first led by Ismail Haniyeh from June 2007 until February 2017; then by Yahya Sinwar until his killing in October 2024; then by Mohammed Sinwar until his assassination in May 2025; and since then by Izz al-Din al-Haddad. During the Gaza war (2023–present), the group lost control over most of the Gaza Strip to the Israel Defense Forces (IDF), and as a result of the Gaza peace plan, agreed in October 2025, the IDF currently controls approximately 53% of the territory. United Nations Security Council Resolution 2803, adopted on 17 November 2025, contains provisions to effectively place the Gaza Strip under international administration.
After Hamas won the Palestinian legislative elections on 25 January 2006, Ismail Haniyeh was nominated as the prime minister of the PA, establishing a national unity government with Fatah. This government effectively collapsed with the outbreak of the violent conflict between Hamas and Fatah. After the takeover of the Gaza Strip by Hamas on 14 June 2007, PA president Mahmoud Abbas dismissed the Hamas-led government and appointed Salam Fayyad as prime minister. Though the new Palestinian government's authority was claimed to extend to both the Palestinian territories, in effect it became limited to the West Bank, as Hamas did not recognize the dismissal and continued to rule the Gaza Strip as an effectively separate administration from the PA. There have been reconciliation attempts between Fatah and Hamas since the 2007 split; a brief Palestinian unity government in 2014 failed to organize elections and reunify the Palestinian territories. A third government was formed by Hamas in October 2016.