The conflict between India and Pakistan originated from tensions between Indian and Muslim nationalism during British rule. The partition of British India led to an independent India and Pakistan in 1947, but also sparked religious conflict over the region of Jammu and Kashmir. Over 70 years since independence, India and Pakistan have fought three wars and have ongoing tensions over Kashmir, though they have also had some successes in sharing water resources and resolving border disputes. Religious nationalism and tensions over Kashmir have periodically led to outbreaks of violence between the two countries.