India and Pakistan have fought four major wars: the First Kashmir War (1947-48), the Second Kashmir War/Indo-Pak War (1965), the Bangladesh Liberation War (1971), and the Kargil War (1999). Each conflict centered on territorial disputes, primarily over Kashmir, with the 1971 war resulting in Bangladesh's independence from Pakistan.