Gaza Strip President Hosni Mubarak resigned on 28 May 2011, Egypt permanently opened its border with the Gaza Strip to students, medical patients, and foreign passport holders. Following the 2013 Egyptian coup d'état, Egypt's military has destroyed most of the 1,200 tunnels which are used for smuggling food, weapons, and other goods to Gaza. After the August 2013 Rabaa Massacre in Egypt, the border crossing was closed 'indefinitely.' Israel has alternately restricted or allowed goods and people to cross the terrestrial border and handles vicariously the movement of goods into and out of Gaza by air and sea. Israel largely provides for
Gaza Strip Israel as the occupying power in Gaza under the traditional law of occupation," but that some legal theories might downplay the significance of the lack of an Israeli presence on the ground, and that Israel still continues to exercise some control over Gaza in parallel with the Palestinian Authority. Shany wrote that "in order to identify the ultimate power of government in Gaza one should engage in a comparative analysis of the degree of effective control exercised by the two competing sources of authority." Some analysts have argued that the Gaza Strip can be considered a "de facto" independent state,