Jammu and Kashmir (princely state)
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. Each considered that all of the former princely state belongs to them. This has led to several wars. The Kashmir conflict between the two nuclear neighbours remains one of the hardest and longest running disputes that the  United Nations Security Council has been trying to solve.