Taba was on the Egyptian side of the armistice line agreed to in 1949, and returned to Egypt when Israel withdrew from the Sinai in 1957. However, when Israel reoccupied the Sinai after the Six-Day War (1967), a 400-room hotel was built at Taba. Again when Egypt regained control over Sinai after the Yom-Kippur War (1973), Egypt and Israel were negotiating the exact position of the border in preparation for the 1979 peace treaty, Israel claimed that Taba had been on the Ottoman side of a border agreed between the Ottomans and British Egypt in 1906 and had, therefore, been in error in its two previous agreements. After a long dispute, the issue was submitted to an international commission composed of one Israeli, one Egyptian, and three outsiders. In 1988, the commission ruled in Egypt's favor, and Israel returned Taba to Egypt later that year.