In the 1977 elections, which transformed the Israeli political landscape, the new party did remarkably well for its first attempt to enter the Knesset, winning 15 of the 120 seats. As a result of the election, Likud party leader Menachem Begin was initially able to form a coalition without Dash (or parties to its left), significantly lowering the bargaining power of Dash. Dash joined the coalition after a few months. As the new Deputy Prime Minister, Yadin played a pivotal role in many events that took place, particularly the contacts with Egypt, which eventually led to the signing of the Camp David Accords and the peace treaty between Israel and its neighbor. Nevertheless, Dash itself proved to be a failure, and the party broke up into numerous splinter factions; Yadin joined the Democratic Movement, but it too split up and he sat as an independent MK for the remainder of his term. During a cabinet meeting, May 1981, while still Deputy Prime Minister, he accused Chief of Staff Rafael Eitan of "lying to the government" and told Prime Minister Begin "You have lost control of the defence establishment." He retired from politics in 1981.