Homosexuality in India has been a subject of discussion from ancient times to modern times. Hindu texts have taken positions regarding the homosexual characters and themes. Rigveda, one of the four canonical sacred texts of Hinduism says "Vikriti Evam Prakriti" (meaning what seems unnatural is also natural), which some scholars believe recognises homosexual dimensions of human life, like all forms of universal diversities. The ancient Indian text Kamasutra written by Vātsyāyana dedicates a complete chapter on erotic homosexual behaviour. Historical literary evidence indicates that homosexuality has been prevalent across the Indian subcontinent throughout history, and that homosexuals were not necessarily considered inferior in any way until about 18th century during British colonial rule. On 6 September 2018, a 5-judge constitutional bench of Supreme Court of India invalidated part of Section 377 of the Indian Penal Code, hence making homosexuality legal in India.