The People's Republic of Pakistan
In the aftermath of the Kashmir War, relations between India and the United Kingdom fell to a new nadir. Nehru. The defeat of Anglo-Pakistani forces and the fact that British diplomats basically had to fly to India, groveling for the release of British officers, was a humiliating spectacle that highlighted the failure of Clement Attlee's India policy. This was one of many reasons that led to Winston Churchill's 1950 victory. However, Nehru and Churchill further detested each other, as Nehru was familiar with Churchill's wartime persecution of the Indian National Congress. Nehru however, felt in a position to dictate terms, and he relished it. Churchill, to his credit, did not allow his personal feelings about Nehru get in the way of his dealings with India. Nehru openly threatened Churchill, claiming that he would provide logistical suport to the Communist rebels in Burma if Churchill didn't cut all military ties with Pakistan. When Nehru agreed to release all captured British officers, Churchill agreed, and the British military cut off Pakistan.
The abandonment of the British shocked the Pakistani army. They quickly found themselves with no friends. China had clearly thrown it lots in with Nehru and the British had abandoned Pakistan. Prime Minister Ali Khan quickly found himself under attack on all sides. When Nehru reneged on the cease-fire deal by refusing to hold a plebiscite in Kashmir - instead arresting and beating protesters who demanded one, Ali Khan's political support fell even lower in the military, who lambasted his "peace policy." Ali Khan turned instead to the United States, but when US-backed forces stormed the eastern coasts of Saudi Arabia, Muslim clergyman also denounced him. Similarly, leftists had detested him from the start. In desperation, Ali Khan turned to the Soviet Union for support, but this simply turned the Americans against him, seeking to remove him. In 1951, a US-backed assassin shot at Ali Khan, injuring him but not killing him.[1] While he recuperated, a group of military officers led by Akbar Khan declared him "unable to act" and "removed from office."[2] Khan then also removed Governor-General Nazimuddin, immediately taking office himself as President of Pakistan, appointing his close allies in charge of the President. Ali Khan was quickly put under house arrest.
Khan was most strongly backed by Marxists such as Faiz Ahmad Faiz and Sajjad Zaheer, whose intellectual influence ensured that all of Pakistan's newspapers celebrated the new Khan reigme. Commander-in-Chief Ayub Khan, who opposed the coup, fled the country, while Iskander Mirza vacillated and supported the coup once it was clear that it was a success. Although Khan was a West Pakistani with very little love towards the East Bengalis, Pakistan's Communists were largely concentrated in East Bengal. As a result, while Ali Khan became President, the Bengali Iskander Mirza became Army Chief of Staff. The Bengali Huseyn Shaheed Suhrawardy, who was conservative but allied to the Communist Party in East Bengal, became Prime Minister in a contested vote, defeating the also Bengali Khawaja Nazimuddin. His mother-in-law, Jahanara Shahnawaz, was then elected Vice-Prime Minister. Khan was remarkably ambitious and egotistical, but cared more about being in charge than actually what specific domestic policies were implemented, leaving most of the intricacies to Suhrawardy. Khan was instead mono-manically focused on building up an army large enough to take back Kashmir from India. With a keen understanding that he depended on support from East Bengal, when language protests broke out that year across the province as to what the national language of Pakistan would be, Khan relented from the plan to make Urdu the sole national language, instead making Urdu and Bengali co-equal national languages. With these, Bengali politicians quickly became a bedrock of support for the regime. In contrast, the Jamaat-e-Islami movement quickly became Khan's greatest enemy, viewing his Communist-backed regime was an even greater threat than Ali Khan. They hated his "pandering" to the East Pakistanis, who the Islamists degraded as "less than pure" Muslims. Although Khan regularly preached about the Islamic nature of his regime, many Islamists remained unconvinced.
Although neither Khan nor Suhrawardy were Communists, they took advantage of support from the Communist Party, immediately opening up relations with the Soviet Union. The situation in Afghanistan turned to panic, as they viewed themselves now surrounded by "Communist powers." Prime Minister Shah Mahmud Khan was quickly sacked and replaced with the more pro-Soviet Mohammed Daoud Khan. Soviet development aid came rushing in (coming through Iran and Afghanistan), outraging the British. Churchill concluded that the Soviets had finally acquired their warm water port, and that it was necessary to take out the leaders of all three countries. Pakistani Army officer Yahya Khan launched a coup, funded by the British and Americans, but he failed and died. Indeed, Churchill's fears came true - the Soviet Union quickly used Pakistan as a way to secretly funnel military support to the Communist rebels in Burma (ie, for every 9 guns the Pakistani Army gave over to the Burmese Communists, the Soviets would gift 10 into Pakistan). Under Soviet tutelage, the Pakistanis were instructed to station more troops in East Bengal than West Pakistan, because this allowed the Soviets to covertly ship the maximum amount of arms to Burma. To assuage fears of India, the Soviets promised to aid the Pakistanis in any case of a military confrontation with India in West Pakistan, but this was not widely known, so many West Pakistanis felt neglected by the government, especially those in Baluchistan. In addition, the formidable Pakistani Inter-Services Intelligence grew even more formidable, with direct coaching from the Soviet KGB, East German Stasi, and Japanese MIPA (North Japanese foreign aid dramatically ramped up as well.) This was greatly appreciated by Khan, but the KGB also slowly worked to cleanse the Pakistani ISI of anti-Communists, unbeknownst to Khan. Regardless, this arrangement was genuinely pleasing to Pakistan's military establishment, who saw their military power expand.
In 1952, Pakistan decided to sever its last official ties with the British, choosing to even leave the Commonwealth. The 1952 Constitution declared the founding of the "People's Republic of Pakistan", a "parliamentary democracy founded on the principles of Islamic socialism." Although at first diplomatically isolated, Pakistan would soon find ideological comrades in other Muslim states, such as Iran's Mossadegh, Afghanistan's Daoud Khan, and Syria's Afif al-Bizri.
----
[1] Ali Khan died OTL.
[2] This failed OTL.