qnli question: What was the name of the war lost by the Maratha states in 1818? sentence: The rule lasted until 1858, when, after the Indian rebellion of 1857 and consequent of the Government of India Act 1858, the British government assumed the task of directly administering India in the new British Raj.