qnli question: What was the name of the war lost by the Maratha states in 1818? sentence: The Maratha states, following the Anglo-Maratha wars, eventually lost to the British East India Company in 1818 with the Third Anglo-Maratha War.