The Kashmir conflict is a territorial dispute over the Kashmir region between India, Pakistan, and China. After the partition of India and Pakistan in 1947, the Maharaja of Kashmir opted to join India, though parts of Kashmir were occupied by Pakistan. This led to the first Indo-Pakistani war over Kashmir. A ceasefire line divided the region, which later became the Line of Control (LOC). Subsequent wars and negotiations failed to resolve the dispute. Both countries claim the entire region of Kashmir, and have fought several wars over it. The conflict remains ongoing, with disputes over borders and occasional military clashes along the LOC.