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.