Hindu law, as a historical term, refers to the code of laws applied to Hindus, Buddhists, Jains and Sikhs in British India. Hindu law, in modern scholarship, also refers to the legal theory, jurisprudence and philosophical reflections on the nature of law discovered in ancient and medieval era Indian texts. It is one of the oldest known jurisprudence theories in the world, beginning three thousand years ago, and is based on the Hindu texts.
Hindu tradition, in its surviving ancient texts, does not universally express the law in the canonical sense of ius or of lex. The ancient term in Indian texts is Dharma, which means more than a code of law, though collections of legal maxims were compiled into works such as the Nāradasmṛti. The term "Hindu law" is a colonial construction, and emerged after the colonial rule arrived in Indian subcontinent, and when in 1772 it was decided by British colonial officials, that European common law system would not be implemented in India, that Hindus of India would be ruled under their "Hindu law" and Muslims of India would be ruled under "Muslim law" (Sharia).