 Outside national unity governments formed during wartime (notably the government formed during the Six-Day War in the term of the sixth Knesset, which had 111 MKs), it was the largest-ever coalition in Israeli political history, with 97 MKs.In accordance with the rotation agreement, Peres resigned in 1986 and Likud's Yitzhak Shamir formed the twenty-second government on 20 October 1986.Shinui left the coalition on 26 May 1987.