India's 'cockroach' protesters hold talks with government as stalemate continues

While Modi did not address the protests directly, he said he was "well aware that the issue of paper leaks is not a small matter".

"It causes immense distress to [hundreds of thousands] of students and their parents," he said, reiterating his earlier promise to strengthen the legal framework to punish culprits.

But the CJP reiterated they would not back down on the demand for Pradhan's resignation.

"The fact that Modi had to make a selfie [video] at midnight shows the pressure he's under. He has promised to take action - the best he can do is sack his education minister," Ranka told the BBC earlier on Friday from the protest site.

Wangchuk said that he was ending his hunger strike after the government assured him no legal action would be taken against protesters at Jantar Mantar, the main protest site in Delhi, and those who marched to parliament.

He said he had also received assurances that the NEET paper leak, accountability in the examination system and wider examination reforms would be discussed in parliament.

But he said he had received no specific promise on Pradhan's resignation.

After he ended his fast, Abhijeet Dipke, the founder of CJP, posted: "We are relieved and grateful that Sonam sir has ended his hunger strike after 26 days. Thank you, sir, for your extraordinary courage and sacrifice. By putting your own life on the line, you awakened the conscience of an entire nation. Your life is far too precious to this country."

On Friday, the atmosphere at Jantar Mantar was loud and enthusiastic.

Hundreds of young protesters had spent the night sleeping on roads and pavements, chanting slogans demanding Pradhan's resignation and urging Modi to sack him.

Pradhan has not commented on the demand but earlier criticised the opposition Congress party for "shamelessly [exploiting] students as political tools to manufacture disruption".

Many protesters said they were relieved Wangchuk had ended his fast.

"He [Wangchuk] was fasting for a long time, could have lost his life and we didn't want that. He's done a lot for the nation, for the youth. We are happy he's broken his fast. We pray for his health," said Fabiha Sayyed, a 23-year-old corporate worker who is at the protest site.

Security has been tightened in the area, with a heavy police presence, mobile internet suspended in several areas and 18 metro stations closed.

The crowd underscored CJP's rise into one of India's most visible youth movements and one of the biggest public displays of dissent against the Modi government since it took office in 2014.

The CJP emerged in May from a comment by India's top judge , who compared unemployed young people drifting towards journalism and activism with cockroaches and parasites. He said later that he was referring specifically to people with "fake and bogus degrees", not India's youth more broadly.

The CJP later began protesting against paper leaks and other irregularities in India's top exams and has gained a massive following on social media. The protesters have been demonstrating for more than a month now.

Follow BBC News India on Instagram , YouTube, Twitter and Facebook .