India's history with transgender individuals dates back to ancient times, with references to "hijras" or "kinnars" in Hindu mythology and the revered position of "hijras" in certain regional cultures. Despite this rich heritage, the British colonial era brought about a drastic change with the imposition of the Indian Penal Code (IPC) in 1862, which effectively criminalized same-sex relationships and transgender identities.