India has fought a total of four wars/military conflicts 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.