The Sikhs guarded the valley until shortly after the death of Maharaja Ranjit Singh in 1839. Ranjit Singh was the leader of the Sikh Empire that ruled the northwest subcontinent of India in the early nineteenth century. However, after his death, the British East India Company began to increase its military strength, especially in the areas bordering Punjab. The progress of eastern India broke out a war between the Sikhs and the British. Signed between Duleep Singh and the East India Company after the British conquest of Punjab, 1849.  The Treaty of Lahore of March 9, 1846 was a peace treaty that marked the end of the First Anglo-Sikh War. In addition, Lahore Darbar was asked by the British to pay compensation of 1.5 billion rupees to repair the cost of the war. Unable to pay this sum, the Darbar ceded Kashmir, Hazare and all the fortresses, territories, rights and interests in the hills between the Beas and Indus rivers to the East India Company, which corresponds to a Crore Rs. An important condition of the British agreement was that a British officer based with an efficient installation of assistants be appointed by the Governor-General to remain in Lahore, with “full authority to direct and control all affairs in each Foreign Office”.  The regent, Maharani Jindan Kaur, mother of the Maharaja, received an annual pension of 150,000 rupees and was replaced by a regency council composed of prominent chiefs and sirdars, under the control and direction of the British resident.  This gave the British effective control of the government. Treaty of Amritsar (25 Agreement between Charles T. Metcalfe, representative of the East India Company of the United Kingdom, and Ranjit Singh, head of the Sikh Kingdom of Punjab.
The treaty regulated Indo-Sikh relations for a generation. The immediate occasion was the French threat from Northwest India, after Napoleon`s Treaty of Tilsit with Russia (1807) and Ranjit`s attempt to take control of the Cis Sutlej states. The British wanted a defense contract against the French and control of Punjab to the Sutlej River. Although it was not a defense treaty, it fixed the border of the countries controlled by Ranjit along the Line of the Sutlej River. The Treaty of Lahore, signed on March 9, 1946, marked the end of the First Anglo-Sikh War, which took place between the Sikh Empire and the East India Company between 1845 and 1846. . .