Why did the British rule over India?

to find riches and gold . this is also because they wanted to get indigo and other raw materials from India .