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
Tzipi Livni Livni and Shaul Mofaz emerged as the main rivals for the leadership. Livni won the Kadima leadership election by a margin of just 431 votes (1%). Palestinian peace negotiators were reportedly pleased with the result. As the new leader of the ruling party, Livni became prime-minister designate. Upon declaring victory, she stated "the national responsibility (bestowed) by the public brings me to approach this job with great reverence." On 21 September 2008, Olmert formally resigned in a letter submitted to president Shimon Peres, and the following day Peres formally asked Livni to form a new government. Livni faced tough negotiations