Kadima acting chairman for the March elections. Kadima won 29 seats, and was asked to form a government by president Moshe Katsav. Olmert formed a coalition with Labor, Shas and Gil, the government being sworn in on 4 May. Yisrael Beiteinu joined the coalition in October 2006, but left again in January 2008 in protest at negotiations with the Palestinian Authority. Olmert resigned as party leader in 2008, resulting in a leadership election, held on 17 September. The vote was won by Tzipi Livni, who beat Shaul Mofaz, Meir Sheetrit and Avi Dichter. Following her victory, Livni failed to form a
Kadima coalition government, as she refused to agree to Shas' demands, resulting in early elections in February 2009. In the elections Kadima remained the largest party in the Knesset, winning 28 seats, one more than Likud. However, Likud's Netanyahu was asked to form a government by President Peres following talks with delegations from all parties represented in the Knesset. Livni lost the leadership of Kadima to Shaul Mofaz, considered the leader of the party's right wing, in a leadership election in March 2012. In November, Livni, supported mainly by Kadima's dovish flank, left Kadima with seven other Kadima MKs to form