The CHP emerged as the first party in the general election of 1961, gaining 173 seats with the 36.7% of the vote. The AP gained 158 seats with 34.8% of the vote. CHP leader İsmet İnönü formed a grand coalition with the Justice Party (AP) and became Prime Minister for a third and final time. This was the first coalition government in Turkey, lasting until 1962 when a split between the CHP and the AP on the issue of amnesty for former DP members resulted in the government's dissolution. İnönü formed a three-party coalition government with the New Turkey Party (YTP) and the Republican Villagers Nation Party (CKMP), though the loss of support for the two junior parties in the 1963 local elections resulted in the government being disbanded in 1963. İnönü was forced to form a fragile minority government supported by Independents, though the government was able to survive a vote of confidence due to outside support from the YTP. The government was overthrown in February 1965 after the opposition parties in parliament united to block the CHP's budget, causing İnönü to resign as Prime Minister. The 29th government of Turkey was formed by Independent MP Suat Hayri Ürgüplü, who had the support of the AP, YTP, CKMP and the Nation Party (MP). Ürgüplü's government presided over the 1965 general election, in which the AP won a parliamentary majority. Since 1965, party adopted new Left of Centre (Ortanın solu) programme switching to centre-left politics.