After the assassination of Benazir Bhutto in 2007, the PPP secured the most votes in the elections of 2008, appointing party member Yousaf Raza Gillani as Prime Minister. Threatened with impeachment, President Musharraf resigned on 18 August 2008, and was succeeded by Asif Ali Zardari. Clashes with the judicature prompted Gillani's disqualification from the Parliament and as the Prime Minister in June 2012. By its own financial calculations, Pakistan's involvement in the war on terrorism has cost up to $118 billion, sixty thousand casualties and more than 1.8 million displaced civilians. The general election held in 2013 saw the PML (N) almost achieve a supermajority, following which Nawaz Sharif was elected as the Prime Minister, returning to the post for the third time in fourteen years, in a democratic transition. In 2018, Imran Khan (the chairman of PTI) won the 2018 Pakistan general election with 116 general seats and became the 22nd Prime Minister of Pakistan in election of National Assembly of Pakistan for Prime Minister by getting 176 votes against Shehbaz Sharif (the chairman of PML (N)) who got 96 votes.