Israel–Gaza barrier launched the Gaza War, consisting of airstrikes and ground incursions against targets in the Gaza Strip, with the stated aim of stopping the rocket fire from and arms smuggling into the territory. The war ended on 18 January 2009, when both sides ceased military action. Israel completed its withdrawal on 21 January, and thousands of rockets and mortars have been fired from the Gaza Strip since. Palestinian Authority President Mahmoud Abbas declared support for the Egypt–Gaza barrier, adding: "It is the Egyptians’ sovereign right in their own country. Legitimate supplies should be brought through the legal crossings", although he made
Israel–Gaza barrier been challenged on the basis that Israel continues to exercise control over Gaza's territorial waters and airspace, despite Gaza not being part of Israel and Gazans not having Israeli passports. In June 2007, Hamas took over Gaza, ousting the forces of Fatah, the faction led by Palestinian Authority President Mahmoud Abbas and effectively separating Gaza from the West Bank in terms of its administration. Hamas had won legislative elections in January 2006. Israel intensified its blockade of the Gaza Strip in June 2007, when Hamas took power and began increasing its rocket fire into Israel. On 27 December 2008, Israel