Israel 102 out of 106 Israeli hostages were successfully rescued. The 1977 Knesset elections marked a major turning point in Israeli political history as Menachem Begin's Likud party took control from the Labor Party. Later that year, Egyptian President Anwar El Sadat made a trip to Israel and spoke before the Knesset in what was the first recognition of Israel by an Arab head of state. In the two years that followed, Sadat and Begin signed the Camp David Accords (1978) and the Israel–Egypt Peace Treaty (1979). In return, Israel withdrew from the Sinai Peninsula and agreed to enter negotiations over
History of Egypt under Anwar Sadat repression including extra judicial arrests. In foreign relations Sadat also launched momentous change from the Nasser era. President Sadat shifted Egypt from a policy of confrontation with Israel to one of peaceful accommodation through negotiations. Following the Sinai Disengagement Agreements of 1974 and 1975, Sadat created a fresh opening for progress by his dramatic visit to Jerusalem in November 1977. This led to the invitation from President Jimmy Carter of the United States to President Sadat and Israeli Prime Minister Begin to enter trilateral negotiations at Camp David. The outcome was the historic Camp David accords, signed by Egypt and