qnli question: In what year did the British Empire replace the Maratha Empire? sentence: The Maratha Empire, which had replaced the Mughal Empire as the overlord of the subcontinent, was finally replaced by the British Empire in 1818.