Khairpur (princely state)  The State of Khairpur (، ), also transliterated as Khayrpur, was a princely state of British India on the Indus River in northern Sindh, modern Pakistan, with its capital city at Khairpur. It was established as capital for the Sohrabani branch of the Talpur dynasty, and was established shortly after Talpur ascendency in 1783 as one of several Talpur dominions. Whereas the other Talpur dominions were conquered by the British in 1843, the Khairpur state entered into treaty with the British, thereby maintaining some of its autonomy as a princely state. The last Mir of Khairpur opted to join the new state of Pakistan in 1947, and the dominion was thus made a Princely state of Pakistan, until it was fully amalgamated into West Pakistan in 1955. The Talpur dynasty was established in 1783 by Mir Fateh Ali Khan, who declared himself the first "Rais", or ruler of Sindh, after defeating the Kalhoras at the Battle of Halani. The nephew of Mir Fateh Ali Khan, Mir Sohrab Khan Talpur, established a branch of the Talpur dynasty in 1783 in Burahan, which was renamed Khairpur in 1783. The death of Mir Sohrab Khan Talpur, founder of the Khairpur branch abdicated power to his eldest son Mir Rustam 'Ali Khan, in 1811. Rustam's youngest half brother, 'Ali Murad, strengthened his hand by signing a treaty with the British in 1832, in which he secured recognition as the independent ruler of Khairpur in exchange for surrendering control of foreign relations to the British in 1838, as well as use of Sindh's roads and the Indus River. His position had been little more than that of a regent during his father's lifetime, and this was to remain unchanged until his youngest half brother, 'Ali Murad, came of age. Nevertheless, this did not save him from internal family disputes, in which the British initially refused to treat or take sides. Rustam ruled until 1842, when abdicated in favor of his youngest brother Mir Ali Murad. Ali Murad helped the British in 1845-7 during the Turki campaign, but was later accused of plotting against the British in 1851–2, and so was stripped of his lands in upper Sindh by the British East India Company. As a result, the remaining land under his control consisted mostly of Khairpur city, and its immediate environs.