control of most of the east bank of the Suez Canal, in the later stages of the war, the Israeli military crossed the southern section of the Suez Canal, cutting off the Egyptian 3rd Army, and occupied a section of the Suez Canal's west bank. The war ended following a mutually agreed-upon ceasefire. After the war, as part of the subsequent Sinai Disengagement Agreements, Israel withdrew from immediate proximity with the Suez Canal, with Egypt agreeing to permit passage of Israeli ships. The canal was reopened in 1975, with President Anwar Sadat leading the first convoy through the canal aboard an Egyptian Navy destroyer. 1979–1982 Israeli withdrawal In 1979, Egypt and Israel signed a peace treaty in which Israel agreed to withdraw from the entirety of the Sinai Peninsula. Israel subsequently withdrew in several stages, ending in 1982. The Israeli pull-out involved dismantling almost all Israeli settlements, including the settlement of Yamit in north-eastern Sinai. The exception was that the coastal city of Sharm el-Sheikh (which the Israelis had founded as Ofira during their occupation of the Sinai Peninsula) was not dismantled. The Treaty allows monitoring of Sinai by the Multinational Force and Observers, and limits the number of Egyptian military forces in the peninsula. Sinai peacekeeping zones Article 2 of Annex I of the Peace Treaty called for the Sinai Peninsula to be divided into zones. Within these zones, Egypt and Israel were permitted varying degrees of military buildup: Zone A: Between the Suez Canal and Line A. Egypt is permitted a mechanized infantry division with a total of 22,000 troops in Zone A. Zone B: Between Line A and Line B. Egypt is permitted four border security battalions to support the civilian police in Zone B. Zone C: Between Line B and the Egypt–Israel border. Only the MFO and the Egyptian civilian police are permitted within Zone C. Zone D: Between the Egypt–Israel border and Line D. Israel is permitted four infantry battalions in Zone D. Early 21st century security issues Since the early 2000s, Sinai has been the site of several terror attacks against tourists, the majority of whom are Egyptian. Investigations have shown that these were mainly motivated by a resentment of the poverty faced by many Bedouin in the area. Attacking the tourist industry was viewed as a method of damaging the industry so that the government would pay more attention to their situation. (See