Protests were held across India on Monday after masked assailants wielding batons and iron rods went on a rampage at a top Delhi university, leaving more than two dozen injured.

Controversy over Sunday’s violence at Jawaharlal Nehru University (JNU) comes as a new challenge to the government as it confronts protests against a new citizenship bill. Some students blamed the university attack on right-wing activists.

At least 28 students and teachers were injured, while doctors and nurses from a nearby hospital who went to treat them were also attacked, their union said.

Scores of riot police on Monday patrolled the university – the alma mater of several key ministers in Prime Minister Narendra Modi’s cabinet – picking their way past shattered glass and broken doors and furniture.

They made no immediate arrests, but blamed the violence on “rival student groups”.

As condemnation of the attacks spread, more than 1,000 people held a vigil in Mumbai. Other demonstrations were held in Bangalore, Kolkata and other major cities.

Nobel economy prize winner Abhijeet Banerjee, a former JNU student, said the attacks had “echoes of the years when Germany was moving towards Nazi rule”.

Modi’s Bharatiya Janata Party denied claims by the opposition Congress that it was responsible, and in turn blamed left-leaning student groups which dominate the university’s politics.

The government has promised an investigation, while home minister Amit Shah – a close Modi aide – told university administrators and police to maintain order at the campus, which has been tense since protests in November over fee increases.

The unrest comes as nationwide protests continue against a citizenship law passed in December that bars Muslims from a measure granting nationality to persecuted minorities from three neighbouring Islamic-majority countries.

Hundreds of thousands of people, mainly Muslims, have taken to the streets across the country, and more than 25 people have been killed.

Critics say the legislation goes against India’s secular constitution, but Modi says the new law is intended to help “persecuted” minorities in those countries. Many of the persecuted minorities have been forced to convert to Islam, with evidence of rape and threats being used against them.