The 2008 Israel–Hamas ceasefire was an Egyptian-brokered six-month Tahdia (an Arabic term for a lull) "for the Gaza area", which went into effect between Hamas and Israel on 19 June 2008. According to the Egyptian-brokered agreement, Israel promised to halt air strikes and other attacks, while in return, there would not be rocket attacks on Israel from Gaza. Once the ceasefire held, Israel was to gradually begin to ease its blockade of Gaza.
During the initial week of the ceasefire, militants fired rockets on Israel and broke the terms of the ceasefire. During the next 5 months of the ceasefire, Gazan attacks decreased significantly for a total of 19 rocket and 18 mortar shell launchings, compared to 1199 rockets and 1072 mortar shells in 2008 up to 19 June, a reduction of 98%.
The agreement called on Israel to increase the level of goods entering Gaza by 30 percent over the pre-lull period within 72 hours and to open all border crossings and "allow the transfer of all goods that were banned and restricted to go into Gaza" within 13 days after the beginning of the ceasefire. The increase in supplies of food, water, medicine and fuel did improve, but the increase was only to an average of about 20 percent of normal levels. Two months later the volume of goods arriving was too low to significantly improved living conditions, preventing UNRWA from replenishing its stores. Israel told U.S. officials in 2008 it would keep Gaza's economy "on the brink of collapse".
On 4 November 2008, Israel raided Gaza, killing six Hamas militants. The Israeli military claimed the target of the raid was a tunnel that they said Hamas was planning to use to capture Israeli soldiers positioned on the border fence 250m away. Hamas officials claimed that the tunnel was being dug for defensive purposes. Hamas replied to the Israeli attack with a barrage of rocket fire. On December 20, Hamas announced it would not renew the ceasefire. Operation Cast Lead commenced on 27 December 2008.
After its Palestinian legislative election, 2006 victory, Hamas assumed administrative control of Gaza, consolidating its this control after a military conflict with Fatah. Israel and Egypt then partially sealed their border crossings with Gaza, on the grounds that Fatah was no longer providing security. They imposed a blockade on the territory, prohibiting many exports and allowing only enough imported goods to avert a humanitarian or health crisis. After many acts of violence, foreign journalists left the Gaza strip due to the lack of security in the zone.