See first two paras in wikipedia https://en.wikipedia.org/wiki/Caste_system_in_India
Excerpt:
The British Raj furthered this development, making rigid caste organisation a central mechanism of administration. Between 1860 and 1920, the British formulated the caste system into their system of governance, granting administrative jobs and senior appointments only to Christians and people belonging to certain castes.