When Bharat became independent in August 1947, the country was divided into India and Pakistan. More than 500 princely states also had to decide their. At the time, Jammu and Kashmir was ruled by Maharaja Hari Singh. The State had not joined either India or Pakistan when the crisis began. The Maharaja faced two choices: join India, join Pakistan.