Transgender activists take a dip in the holy waters of the Shipra River at the Hindu festival known as the Kumbh Mela in Ujjain, India, on April 22. (Annie Gowen/The Washington Post)

In the waning heat of the evening, a group from India’s transgender community clambered down steep steps to a holy river in India, their multicolored saris catching the breeze before they plunged joyfully into the glittering waters of the Shipra.

India’s transgender people have long lived on the margins of society and are a familiar sight at traffic stops or weddings, where they sing and dance and ask for money. But the group — known as “hijras” — have made huge strides toward greater inclusion in recent years, culminating with a landmark decision in 2014 by India’s Supreme Court that recognized a third gender that is neither male or female.

Friday, the hijras took their fight for equality to the riverbanks of one of India’s biggest holy festivals — a gathering called the Kumbh Mela. Millions of Hindu saints, holy men, seers and pilgrims will come for a month of worship, including a ritual river bath to purify body and soul.

The hijra leaders, fresh from their historic court recognition, began thinking about starting their own group to participate in the Kumbh Mela last year, according to Laxmi Narayan Tripathi, one of India’s best-known transgender activists.

The transgender Indian community -- called hijras -- have been a part of Indian society and culture since ancient times, but they remain largely on its margins. The hijras gathered Friday on the riverbanks to celebrate one of India's biggest holy festivals. (Annie Gowen/The Washington Post)

“After the Supreme Court decision, we decided that we should reclaim our lost position in the religion,” she said. “Of course there is no place better to do that than the Kumbh Mela.”

The city has spent years preparing for the festival, which turns the normally quiet temple town in the central Indian state of Madhya Pradesh into a megalopolis complete with campsites, temporary places of worship, WiFi hotspots, green-friendly electric rickshaws and even tented “resorts” for well-heeled pilgrims. The river this year is dotted with floating filtration devices that clean India’s polluted river water for bathers.

The government has allotted the transgender group a space for its own camp this year as a nod toward its inclusion.

Yet the religious gurus who oversee the official 13 Hindu monastic orders — called “akharas” — that traditionally participate in the mela have said they will not recognize the hijras as a 14th akhara. Nor will they recognize a women’s group hoping for inclusion.

Those leaders say to do so would go against Hindu tradition that dates back centuries.

“We respect transgenders in society but we will not allow them for the holy dip. It’s against Hindu law,” said Narendra Giri Maharaj, the head of the All India Akhara Parishad, the umbrella group of the akharas. “We will never recognize them, under any condition.”

Tripathi and others argue that transgender people have been a part of Indian society since ancient times and that references to them appear in classical Indian texts. They were also prized courtiers during the times of the Mughal kings. It was only after the British colonized India and imprinted the land with its own system of justice that transgender people began to be ostracized, activists say.

In recent years, they have made some inroads into traditional society, becoming state legislators and mayors. Last year, the first transgender police officer was hired in the southern India state of Tamil Nadu.

In recent weeks, India’s social-justice and empowerment ministry has drafted a bill that would give transgender people greater protection from harassment and wrongful eviction. They are also likely to be included in India’s quota system, which reserves government jobs and education for socially and economically disadvantaged groups.

But they say they still have had to fight for jobs and education despite the Supreme Court ruling supporting a third gender.

“The judgment of the Supreme Court is just in a file, not on the ground,” said Pushpa Gidwani, a social worker with the transgender community in the city of Jaipur. She estimates that of the 5,000 or so members of her community in that city, 1,000 keep their sexuality “hidden” and many in the group still beg or work menial jobs.

This week, transgender people from throughout India gathered at the group’s camp site in Ujjain, which included a large hall where devotees lined up Thursday evening to touch the feet of the hijras and receive their blessing. Throughout the month-long festival, they have planned fire rituals, devotional singing and social outreach programs about the transgender community.

Rajit Ojha, a graduate student, said he has seen a “drastic change” in the treatment of hijras since the court ruling.

“They are in the shape of a god,” he said. “They are not made like normal people. They have been sent from heaven to give us a blessing.”

Friday, as the sun set on the banks of the river, the hijras appeared on a crowded bridge in a procession that echoed the colorful wedding performances they have done for centuries. As a band played, the hijras rode camels and elaborate princess carriages as well-wishers pressed to take their photos and receive blessings. Then they rushed into the water, splashing, laughing and posing for photos.

“I’m so happy,” Gidwani said afterward, soaking wet.

Said Tripathi: “Nobody’s going to go against us, and we don’t even care if they do. We will fight our own battles. We don’t care. We don’t give a damn. Good girls go to heaven and bad girls go everywhere. I’d rather go everywhere. This is about the love people have for us.”

Jaffer Multani contributed to this report.