Pakistan and India have been rivals since their independence from the British Empire in 1947, and have fought wars over the disputed territory of Kashmir in 1947, 1965 and 1999. The occupancy of Kashmir and the terrorist attacks on India allegedly supported by Pakistan are the core reasons for the tension between India and Pakistan.