This is what i read from a
source
As regional Britain rule ended in South Asia in 1947, the fates of Kashmir and over five hundred other Princely States were left in contention. Most of the states acceded quickly to either Pakistan or India. Kashmir, however, stalled in hopes of self-determination by requesting standstill agreements with both countries. After the agreement was signed with Pakistan but before it was signed with India, Pakistani bands infiltrated the border of Kashmir, joining rebels in West Kashmir trying to throw off the rule of the Maharaja, who was Hindu but whose constituents were mainly Muslim. After several requests to Pakistan to stop the free distribution of arms and ammunition and access to facilities, land, and resources to the raiders, appealed to India for military support. India agreed, but only on the condition that Kashmir sign an instrument of accession to India. Kashmir agreed, and the document was legally signed. Because Kashmir was now a part of India, the Maharaja sent troops in to repel the raiders. On November 2 of that year, the Indian government announced that it would hold a plebiscite to permanently resolve the issue of Kashmir. However, Pakistan would not come to the table on the grounds that a fair plebiscite could not possibly be held while Indian troops occupied the area in question. Since then, all attempts at cease-fire and plebiscite agreements have been foiled by either country’s violations of peace requirements. This chapter will discuss the diplomatic history of the two countries, form an opinion on relative the fault of the two countries, and discuss the subsequent fate of the Kashmiri state itself.
"First of all, India’s accusation of aggression has foundation because Pakistan is truly at fault for the invasion of Kashmir. According to Dionisio Anzilotti, former president of the Permanent Court of International Justice, "The State which knows an individual is plotting an unlawful act against a foreign state and does not prevent it, and the State which receives an offender and screens him from punishment… become [an] accomplice in the offenses" (Rao 46). The invasion was "against all canons of international law and usage and a clear violation of the Charter, the Security Council’s resolution of 17 January 1948, and its own assurance to the President of the Security Council" (Rao 82). In July 1948, three months after Pakistan admitted of its own accord to sending troops into Kashmir under the pretext of self-defense, the UN Commission established "without a doubt" (Rao 46) that Pakistan had committed aggression. In response to this, the Pakistan Foreign Minister admitted wrongdoing but cited fear of Indian aggression as a main reason behind Pakistan’s actions. However, regardless of the reason, according to Article 51 of the United Nations Charter, Pakistan had "no right of self-defense in the absence of an armed invasion or attack on its territory" (Rao 50). In addition, it failed to inform the Security Council of the movement of its troops, another violation of the UN Charter, but rather denied the existence of the raiders altogether. This also directly violated the spirit of the written assurance it gave the president of the Security Council in January 1948 that it would follow the statutes of the Charter.
In addition, Pakistan’s argument that the accession of Kashmir to India was illegal is unfounded. Pakistan claims that the Maharaja was not legally competent to sign the instrument of accession to India because his power had already been usurped by the revolt. However, according to the statutes of international law, the new government of Kashmir had not yet acquired statehood. The conditions are that there must be a people, a country in which people have settled, and a sovereign government. The state of Kashmir satisfied all of these requirements except for that of a sovereign government, as it had no power to deal with external matters and was thus not completely dependent of external control. Therefore, Kashmir was still under the law of its Maharaja, and the instrument of accession was and is completely legal."