In October 1947, following the announcement of Kashmirs accession to India, the Gilgit Scouts, a predominantly Muslim force raised by the British for internal security, revolted against the Dogras, and in a series of daring actions in1948 captured Kargil, Drass, Zoji La Pass and Skardu. However, in November 1948, Zoji La Pass and Kargil were recaptured by the Indians while the Kargil heights remained with the Gilgit Scouts. <Karachi Agreement validated this, next year, in 1949>
During the Rann of Kutch conflict, these heights were captured by the Indians for the first time on May 17, 1965, for use as a bargaining counter in the negotiations. As a result of the agreement reached, the heights were returned to Pakistan in June 1965 <This was as per UNMOGIP treaty>. In the first week of August 1965, Operation Gibraltar was launched. One of the areas used by the infiltrating force was the Kargil heights. To block these routes, the Indians captured the heights for the second time in the third week of August 1965. But after the signing of the Tashkent Agreement, the heights were once again returned to Pakistan.
On the outbreak of war on the western front on December 3, 1971, the Indians captured the heights for the third time on December 9, 1971. This time, however, they retained the heights in line with the Shimla Agreement under which the violable Cease Fire Line (CFL), created in December 1948 on cessation of hostilities in Kashmir, was converted into an inviolable Line of Control (LoC), on the basis of actual possession of territory at the time of the ceasefire in December 1971.