In 1857, the Sepoy Mutiny, an uprising against the British rule broke mainly in present-day Delhi and Uttar Pradesh. Under the leadership of Ranbir and Gulab Singh, the state allied with the British. They sent money to the British troops stationed at Punjab. The mutineers were not allowed to take asylum in the state, which bordered the then British India. British women and children took refuge in the Kashmir valley. After the death of Gulab Singh, Ranbir Singh sent a battalion of Jammu and Kashmiri soldiers to help the British to besiege Delhi. He was subsequently rewarded for his loyalty to the British. The Treaty of Amritsar was amended in 1860 and a new provision was inserted which allowed a Dogra ruler to adopt a child from a collateral branch of the family. Previously, according to the treaty, the state would have been annexed by the British if a ruler did not have a natural heir. He was also rewarded with the Most Exalted Order of the Star of India in 1862. His gun salute was increased from 19 to 21 guns.