your knowledge in military history is very limited ....kargil was annexed by india 1971 by forcing pakistan to sign shimla agreement.
i am copying this from another thread .....
By Javed Hussain Brig. retd SSG
Dawn, 21 October 2006
In October 1947, following the announcement of Kashmir’s 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.
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. 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).