In 1818 Jaipur became a British protectorate by entering into a subsidiary alliance. In 1835 there was a serious disturbance in the city because of a false rumour that the British had murdered the infant raja to ensure the annexation, after which the British government intervened. The state later became well-governed and prosperous. During the Indian rebellion of 1857, when the British invoked the treaty to request assistance in the suppression of rebellious sepoys, the Maharaja opted to preserve his treaty, and thus sent in troops to help to subdue the uprisings in the area around Gurgaon.