To straighten the line of control in the area, the Indian Army launched night attacks when the ground temperatures sank to below −17 °C and about 15 enemy posts located at height of 16,000 feet and more were captured. After Pakistan forces lost the war and agreed to the Shimla Agreement, Kargil and other strategic areas nearby remained with India. Kargil became a separate district in the Ladakh region during the year 1979 when it was bifurcated from the Leh district.