Barham Salih spearheaded the Kurdistani List in the 2009 Iraqi Kurdistan legislative election. The list won 59 of 111 seats. He succeeded Nechervan Idris Barzani as the Prime Minister of the Kurdistan Regional Government. His term was marked by turbulence with the rise of an opposition (Movement for Change) to challenge the government while his own party was scrambling to stay together after losing the stronghold city of Sulaymaniyah. He survived the first motion of no confidence in Iraqi Kurdistan following the 2011 Kurdish protests in Iraq. He signed the first major oil contract with Exxon Mobil after drafting and amending a new oil law. He relinquished the post of Prime Minister to Nechervan Idris Barzani on 5 April 2012 as part of a political agreement between the ruling KDP–PUK coalition. In September 2017, Salih announced that he was leaving the PUK and forming a new opposition party, the Coalition for Democracy and Justice, to compete in the forthcoming Iraqi Kurdistan elections. Following the death of PUK leader Jalal Talabani and the Kurdish opposition leader Nawshirwan Mustafa, the alliance was seen to have the potential to change the Kurdish political landscape. He said he hoped to gather all the other opposition parties, including Gorran and Komal, to challenge the governing KDP–PUK alliance. On 2 October 2018, Barham Salih was elected as 8th President of Iraq. He received 219 votes and defeated Fuad Hussein who secured 22 votes. Salih condemned the 2019 Turkish offensive into north-eastern Syria, stating that it "will cause untold humanitarian suffering, empower terrorist groups. The world must unite to avert a catastrophe, promote political resolution to the rights of all Syrians, including Kurds, to peace, dignity and security". On 24 September 2019, President Salih had his first bilateral meeting with U.S. President Donald Trump. On 26 December 2019, Salih submitted a letter of resignation after refusing to appoint governor of Basra Asaad Al Eidani as Prime Minister following the resignation of Adil Abdul-Mahdi, amid ongoing protests across the country. Salih stated that Al Eidani would not be approved by the demonstrators. On 19 September 2018, the announcement that Barham Salih will be the PUK's candidate for the post of Iraqi president was greeted with anger by many on social media while others expressed hope that his international reputation and experience would bring a steady hand to tumultuous Baghdad. Some took to the social media platform to call Salih out for perceived opportunism, noting he had just recently been campaigning against PUK and KDP corruption.