minister in the weeks leading to the elections. He was voted by the cabinet to be interim prime minister just after the 2006 elections, when Sharon had reached 100 days of incapacitation. He thus became Israel's third interim prime minister, only days before forming his own new government as the official Prime Minister of Israel. In 2008, amid accusations of corruption and challenges from his own party, Olmert resigned. However his successor Tzipi Livni was unable to form a coalition government. In the election in the following year, while Kadima won the most seats, it was the Likud leader Benjamin Netanyahu who was given the task of forming a government. He was able to do so, thus beginning his second term as Prime Minister of Israel. In the 2013 election, the Likud Yisrael Beiteinu alliance emerged as the largest faction. After forming a coalition, Netanyahu secured his third prime ministership. In 2015, Netanyahu managed to stay in power. Multiple disagreements with his coalition members led to the 2019–2022 Israeli political crisis. In 2021, Naftali Bennett became prime minister. He was succeeded in 2022 by his coalition partner, Yair Lapid. Order of succession If the prime minister dies in office, the cabinet chooses an interim prime minister to run the government until a new government is placed in power. Yigal Allon served as interim prime minister following Levi Eshkol's death, as did Shimon Peres following the assassination of Yitzhak Rabin. According to Israeli law, if a prime minister is temporarily incapacitated rather than dies (as was the case following Ariel Sharon's stroke in early 2006), power is transferred to the acting prime minister, until the prime minister recovers (Ehud Olmert took over from Sharon), for up to 100 days. If the prime minister is declared permanently incapacitated, or that period expires, the president of Israel oversees the process of assembling a new governing coalition, and in the meantime the acting prime minister or other incumbent minister is appointed by the cabinet to serve as interim prime minister. In the case of Sharon, elections were already due to occur within 100 days of the beginning of his coma; thus, the post-election coalition-building process pre-empted the emergency provisions for the selection of a new prime minister. Nevertheless, Olmert was appointed interim prime minister on 16 April 2006, after the elections, just days before he formed a government on 4 May 2006, becoming the