The Yom Kippur War had far-reaching implications; the Arab world had experienced humiliation in the lopsided rout of the Egyptian–Syrian–Jordanian alliance in 1967, but felt psychologically vindicated by early successes in the 1973 conflict. The Israelis recognized that, despite impressive operational and tactical achievements on the battlefield, there was no guarantee that they would always dominate the Arab states militarily, as they had done consistently throughout the First Arab–Israeli War, the Second Arab–Israeli War and the Third Arab–Israeli War; these changes paved the way for the Israeli–Palestinian peace process. The 1978 Camp David Accords that followed the war saw Israel return the entire Sinai Peninsula to Egypt and the subsequent 1979 Egyptian–Israeli peace treaty, which marked the first instance of an Arab country recognizing Israel as a legitimate state. Following the achievement of peace with Israel, Egypt continued its drift away from the Soviet Union and eventually left the Soviet sphere of influence entirely.