Saurav Das and Ashutosh Ranka have spent a week in jail after being accused of trespassing

Two leaders of the Gen Z-led Cockroach Janta Party (CJP) have been freed from jail a week after they were arrested for trespassing at a banned protest site in Delhi.

Saurav Das and Ashutosh Ranka walked out of Tihar jail hours after a magistrate ordered their release. They had been detained by police and jailed after they crossed barricades and climbed over the locked gate at Jantar Mantar.

The historic venue was recently removed from a list of designated protest sites.

The men, who denied wrongdoing, have been calling on India's chief election commissioner to resign. Critics accuse the commission of manipulating voter rolls to benefit India's governing party, charges the commission rejects.

A special executive magistrate court in Delhi, passed their release order, legal news website Bar and Bench reported.

After bail was granted, Das told reporters from a police van: "Truth alone triumphs. Long live the revolution."

Das and Ranka are key leaders of the CJP, which began as an internet joke in May after India's top judge compared unemployed young people to "cockroaches".

The CJP is not a registered political party, but a collective which began by mobilising thousands of young people to protest over leaked exam papers.

By July it had emerged as a major force.

A march towards parliament that month ended in clashes with police, drawing wider attention to the movement and increasing pressure on the government. The unrest eventually led to the resignation of India's education minister.

The CJP has since shifted its focus to India's electoral system.

Along with opposition parties, students and other critics of the government, it accuses Chief Election Commissioner (CEC) Gyanesh Kumar of revising electoral rolls, an exercise known as the Special Intensive Revision (SIR), to benefit Prime Minister Narendra Modi's governing Bharatiya Janata Party (BJP).

Both the BJP and the Election Commission have rejected the allegation.

The SIR exercise has resulted in around 130 million names being removed from voter lists since last year.

Critics warn that the process could also exclude eligible voters, potentially denying them their right to vote, while the Election Commission says the exercise is intended to remove ineligible, dead and duplicate entries.