India has fought a total of four &lt;a href="Indo-Pakistani%20wars%20and%20conflicts"&gt;wars/military conflicts&lt;/a&gt; with its rival nation Pakistan, two in this period. In the Indo-Pakistani War of 1947, fought over the disputed territory of Kashmir, Pakistan captured one-third of Kashmir (which India claims as its territory), and India captured three-fifths (which Pakistan claims as its territory). In the Indo-Pakistani War of 1965, India attacked Pakistan on all fronts by crossing the international border after attempts by Pakistani troops to infiltrate Indian-controlled Kashmir by crossing the de facto border between India and Pakistan in Kashmir.