The Dogra dynasty of Dogra Rajputs from the Shiwalik Himalayas created Jammu and Kashmir when all dynastic kingdoms in India were being absorbed by the East India Company. Events led the Sikh Empire to recognise Jammu as a vassal state in 1820, and later the British added Kashmir to Jammu by the Treaty of Amritsar in 1846. The founder of the dynasty, Gulab Singh, was an influential noble in the court of the Sikh emperor Maharaja Ranjit Singh, while his brother Dhian Singh served as the prime minister of the Sikh Empire. Appointed by Ranjit Singh as the hereditary Raja of the Jammu principality, Gulab Singh established his supremacy over all the hill states surrounding the Kashmir Valley. After the First Anglo-Sikh War in 1846, under the terms of the Treaty of Lahore, 1846, the British Indi