an Entity references as follows:
The caste system in India is the paradigmatic ethnographic example of classification of castes. It has its 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 affirmative action programmes in India as enforced through its constitution. The caste system consists of two different concepts, varna and jati, which may be regarded as different levels of analysis of this system. Based on DNA analysis, endogamous i.e. non-intermarrying Jatis originated during the Gupta Empire.