<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> <P> New developments took place after India achieved independence, when the policy of caste - based reservation of jobs was formalised with lists of Scheduled Castes and Scheduled Tribes . Since 1950, the country has enacted many laws and social initiatives to protect and improve the socioeconomic conditions of its lower caste population . These caste classifications for college admission quotas, job reservations and other affirmative action initiatives, according to the Supreme Court of India, are based on heredity and are not changeable . Discrimination against lower castes is illegal in India under Article 15 of its constitution, and India tracks violence against Dalits nationwide . </P> <P> Varna literally means type, order, colour or class and was a framework for grouping people into classes, first used in Vedic Indian society . It is referred to frequently in the ancient Indian texts . The four classes were the Brahmins (priestly people), the Kshatriyas (also called Rajanyas, who were rulers, administrators and warriors), the Vaishyas (artisans, merchants, tradesmen and farmers), and Shudras (labouring classes). The varna categorisation implicitly had a fifth element, being those people deemed to be entirely outside its scope, such as tribal people and the untouchables . </P>

Where did the caste system in india come from