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–Israel conflict international law. The United Nations has stated that under resolutions of both the General Assembly and the Security Council, it regards Gaza to be part of the "Occupied Palestinian Territories". Meanwhile, the Fatah government in the West Bank, internationally recognized as the sole representative of the State of Palestine, refers to the Gaza Strip as part of the Palestinian state and does not recognize the Hamas government. The Gaza Strip has been separated from Israel by the Israel–Gaza barrier since 1996, which has helped reduce infiltration into Israel. Since the beginning of the Second Intifada, Gazans are no longer permitted