Homosexuality and religion supported them. Ancient religious texts such as the Vedas often refer to people of a third gender known as hijra, who are neither female nor male. Some see this third gender as an ancient parallel to modern western lesbian, gay, bisexual, transgender and intersex identities. Hinduism has taken various positions, ranging from positive to neutral or antagonistic. Referring to the nature of Samsara, the Rigveda, one of the four canonical sacred texts of Hinduism says 'Vikruti Evam Prakriti' (perversity/diversity is what nature is all about, or, what seems unnatural is also natural). A "third gender" has been acknowledged within Hinduism
Ugaritic texts well known texts are the Legend of Keret and the Tale of Aqhat. The other texts include 150 tablets describing the Ugaritic cult and rituals, 100 letters of correspondence, a very small number of legal texts (Akkadian is considered to have been the contemporary language of law), and hundreds of administrative or economic texts. The tablets have been used by scholars of the Hebrew Bible to clarify Biblical Hebrew texts and have revealed ways in which the cultures of ancient Israel and Judah found parallels in the neighboring cultures. The tablets reveal parallels with Israelite practices described in the Bible;