Answer:
The ruler's religion from the majority religion of his country.
Step-by-step explanation:
- As undoubtedly the Muslim dominated areas goes to Pakistan and majority of the religion there is Islam thus Jammu and Kashmir ruler heisted to join the Pakistan or India as it was different from his religion and at the time of the war he had either the option to join or remain independent which could not be possible, later the agreement was taken in favor of India.