Original: However the ruler of Kashmir wanted to remain independent, neither joining Pakistan or India, this led to war between the two neighbouring countries in which Kashmir became divided between them.
Simplified: However the ruler of Kashmir wanted to remain independent, neither joining Pakistan or India, this lead to war between the two neighbouring countries in which Kashmir became divided between them.