Maharaja Hari Singh. He wanted to remain independent. People revolted in western Kashmir to overthrow the Raja, and their neighbor tribesmen crossed the border to help them. They were advancing fast towards the center. The Hindu ruler asked India for military help to save his throne, but India refused to help unless he joined India. So he joined India and India invaded Kashmir.
Later, India took the issue to UN in 1948, which passed a resolution asking for a Plebiscite so that the people could themselves decide upon the fate of their state. Both India and Pakistan agreed to this. However, the plebiscite never took place. Pakistan has repeatedly called for the plebiscite according to UN resolution, but India refuses and claims that Kashmir is a part of India. The UN Security Council passed Resolution 47 on April 21, 1948, which stated "that the final disposition of the State of Jammu and Kashmir will be made in accordance with the will of the people expressed through the democratic method of a free and impartial plebiscite conducted under the auspices of the United Nations". The cease fire took place on December 31, 1948.