Describe India's relationship with Pakistan, including historical background, border details, and ongoing challenges.
Pakistan was part of India before the 1947 Partition, a legacy of the colonial era. Pakistan was founded on a religious basis, unlike India. The border stretches across Gujarat, Rajasthan, Punjab, Jammu and Kashmir, and Ladakh. The relationship has seen several wars in 1948, 1965, 1971, and the Kargil War in 1999. There have been frequent terrorist attacks launched with the support of the Pakistan army. Attempts at peace include trade and the opening of pilgrimage routes. Languages, cuisines, music, and festivals continue to bridge the border between the two countries.