Tzipi Livni position on Kadima's list of candidates, which effectively guaranteed her election to the Knesset. In 2006, Livni was appointed as Israel's Minister of Foreign Affairs. She held this position until 2009. In Ehud Olmert's government, Livni was also appointed Designated Acting Prime Minister (also known as Vice Prime Minister), taking the place of the prime minister if he or she is outside the country or temporarily or permanently unable to fulfill his or her duties. She ceased serving as Justice Minister at that time, but again held that position from 29 November 2006 to 7 February 2007, while still serving
2009 Israeli legislative election government and the Knesset was set to convene on 31 March 2009, in order to vote on the government in a "Vote of Confidence" and to be sworn in thereafter. The country's 32nd government was approved that day by a majority of 69 lawmakers, with United Torah Judaism joined the following day, expanding the coalition to 74 MKs. On 27 March 2012, the Opposition party Kadima called for leadership primaries, pitting its leader Tzipi Livni against Shaul Mofaz. Mofaz won with 62% of the vote. Livni resigned from the Knesset in May 2012. Earlier, Netanyahu defeated his rival Moshe Feiglin,