The partition of British India in 1947 divided the subcontinent into two independent states - India and Pakistan. This caused mass violence as millions of Hindus and Muslims migrated between the two new countries. Ongoing disputes over the territories of Jammu and Kashmir led to wars between India and Pakistan in 1965 and 1971. Water sharing of the Indus River also remained a source of conflict until the 1960 Indus Water Treaty. However, resolving the issues of Kashmir and fully implementing the water treaty remain important for improving relations between the two countries.