Question: how imran khan became prime minister?
Answer: PTI boycotted the general election in 2008, and gained the second largest share of the vote in the subsequent election. In regional politics, PTI led a coalition government in the province of Khyber Pakhtunkhwa from 2013, but Khan delegated his leadership after being elected as Prime Minister in 2018.