<P> The caste system in India is the paradigmatic ethnographic example of caste . It has origins in ancient India, and was transformed by various ruling elites in medieval, early - modern, and modern India, especially the Mughal Empire and the British Raj . It is today the basis of educational and job reservations in India . It consists of two different concepts, varna and jati, which may be regarded as different levels of analysis of this system . </P> <P> The caste system as it exists today is thought to be the result of developments during the collapse of the Mughal era and the British colonial regime in India . The collapse of the Mughal era saw the rise of powerful men who associated themselves with kings, priests and ascetics, affirming the regal and martial form of the caste ideal, and it also reshaped many apparently casteless social groups into differentiated caste communities . The British Raj furthered this development, making rigid caste organisation a central mechanism of administration . Between 1860 and 1920, the British segregated Indians by caste, granting administrative jobs and senior appointments only to the upper castes . Social unrest during the 1920s led to a change in this policy . From then on, the colonial administration began a policy of positive discrimination by reserving a certain percentage of government jobs for the lower castes . </P> <P> Caste - based differences have also been practised in other regions and religions in the Indian subcontinent like Nepalese Buddhism, Christianity, Islam, Judaism and Sikhism . It has been challenged by many reformist Hindu movements, Islam, Sikhism, Christianity, and also by present - day Indian Buddhism . </P>

When was the caste system in india created
find me the text answering this question