Complex sentence: In 1947, Junagadh's Muslim ruler acceded his territory to Pakistan, but the predominantly Hindu population rebelled, and while the prince fled to Pakistan, a plebiscite was conducted, as a result of which the kingdom was merged into the Indian Union.
Split into simpler sentences: In 1947, Junagadh's Muslim ruler acceded his territory to Pakistan. The predominantly Hindu population rebelled, and while the prince fled to Pakistan, a plebiscite was conducted, after which the kingdom was merged into the Indian Union.