On 22 November 1967, the United Nations Security Council adopted Resolution 242, the "land for peace" formula, which called for Israeli withdrawal "from territories occupied" in 1967 and "the termination of all claims or states of belligerency". Resolution 242 recognized the right of "every state in the area to live in peace within secure and recognized boundaries free from threats or acts of force." Israel returned the Sinai to Egypt in 1978, after the Camp David Accords. In the summer of 2005, Israel withdrew all military forces and evacuated all civilians from the Gaza Strip. Its army frequently re-enters Gaza for military operations and still retains control of the seaports, airports and most of the border crossings.