The caste system is South Asia's hereditary social ranking by blood and occupation, its core varna scheme fixed in the late Vedic age: the 'Hymn of the Primeval Man' in the Rigveda dividing society into Brahmins, Kshatriyas, Vaishyas and Shudras — with those outside the scheme, the 'untouchables'. The Buddhist and Jain movements of the Mahajanapada age attacked caste privilege and drew the lower orders — but could not reorder Aryan society. The Laws of Manu, compiled roughly between the second century BC and second century AD, systematized the rules of marriage, occupation, food and contact for each rank — caste duty become religious duty. Under the Gupta Empire the Brahmanical revival hardened caste and occupation further and pushed the scheme into the southern peninsula. British colonial rule registered caste as fixed identity in the decennial censuses, and its edges stiffened yet. The constitution of 1950 abolished untouchability — but caste still shapes Indian society and marriage deeply.