The mother of the minor son of Ranjit Singh, Maharani Jindan Kaur instigated the Khalsa against the British. This led to the first Anglo-Sikh War. The Sikhs were defeated and had to sign the Treaty of Lahore in 1846. The Sikhs lost territory and had to keep British Resident.