Who ruled most of India in the 18 century