according to cabinet mission plan.. which formed the basis of partition "The princely states of India would be permitted to accede to either dominion or attain independence."
Maharaja of kashmir initially did not want to join pakistan or india... so pakistan send their army to kashmir.. maharaja found he cld not resis the army.. so he asked india help.. India agreed to help if kashmir agrees to join india (rt decision.. why shld v worry abt other countries.. v have to develop india first). so kashmir becomes a state of india.. n indian army drives away pak army. but when only a part of kashmir was recovered UNcame in between n asked for ceasefire... the Un declaration was : Pakistan army shld first leave kashmir.. then indian army.. then people of kashmir can decide their future... n in all these 60 yrs.. pakistan did not leave control of POK.. so India never left control of remaining kashmir.. so so the people never got change to decide for themselves...