Palestinians in Gaza who wish to exit the enclave can only do so through the Israeli-controlled Erez crossing or the Rafah crossing, which is controlled by Egypt. The Erez crossing is vitally important as it controls the movement of people between Gaza and the West Bank via Israel. Since the early 1990s, Palestinian residents of Gaza have required an exit permit to leave through Erez. Under a policy implemented since the beginning of the second Intifada in September 2000 - and tightened after June 2007, citing security concerns, following the takeover of Gaza by Hamas - only people belonging to specific Israeli-defined categories are eligible for an exit permit, subject to a security check.