Jammu and Kashmiris a state in northern India. Maharaja Hari Singh became the ruler of the princely state of Jammu and Kashmir in 1925.
With the impending independence of India, the British announced that the British Paramountcy over the princely states would end, and the states were free to choose between the new Dominions of India and Pakistan or to remain independent.On 22 October 1947, rebellious citizens from the western districts of the State and Pushtoon tribesmen from the Northwest Frontier Province of Pakistan invaded the State, backed by Pakistan.Maharaja Hari Singh signed the Instrument of Accession on 26 October 1947 in return for military aid and assistance. Once the Instrument of Accession was signed, Indian soldiers entered Kashmir with orders to evict the raiders. The resulting Indo-Pakistani War of 1947 lasted till the end of 1948. A special United Nations Commission for India and Pakistan (UNCIP) was set up to negotiate the withdrawal arrangements as per the Security Council resolution. The UNCIP made three visits to the subcontinent between 1948 and 1949, trying to find a solution agreeable to both India and Pakistan. It passed a resolution in August 1948 proposing a three-part process. It was accepted by India but effectively rejected by Pakistan.In the end, no withdrawal was ever carried out, India insisting that Pakistan had to withdraw first, and Pakistan contending that there was no guarantee that India would withdraw afterwards.