Authorities in India imposed a curfew in the southern city of Mangaluru on Friday after two people died in violence related to nationwide protests over a new citizenship law.

The internet was also shut down in parts of northern India to curb unrest over the law, which opponents say threatens India's secular democracy and paves the way for a Hindu state.

Security was tightened around mosques in New Delhi, Lucknow, and other Muslim-dominated areas amid fears of violent demonstrations following Friday prayers, and a ban on assemblies larger than four people was imposed for a third day in the capital and other cities in the states of Assam and Uttar Pradesh.

The deaths in Mangalaru have brought the toll from protest-related violence to at least seven. A police spokesman said 20 policemen were also injured in the coastal city in the state of Karnataka.

More than 1,200 people have also been detained in New Delhi by police.

Push for a Hindu state?

The law, pushed through parliament last week by the Hindu nationalist government of Prime Minister Narendra Modi, makes it easier for non-Muslim illegal migrants from the Muslim-majority countries of Bangladesh, Pakistan, and Afghanistan to acquire Indian citizenship.

Although many see the law as discriminating against Muslims and as undermining India's constitution by awarding citizenship based on religion, others, even from Modi's own Bharatiya Janata Party, fear it could encourage immigration to the country. Assam, a northeastern state bordering Bangladesh, has seen some of the most violent protests, with residents angered at the perceived support of immigrants, regardless of their religion.

Assam is also where authorities have demanded that 2 million people excluded from an official list of citizens prove their citizenship or be considered foreign. Tens of thousands of people are expected to be deemed to have entered India illegally under the process, which critics say is a plot to deport Muslims.

Muslims, who make up 14 percent of India's population, have also been unsettled over other measures taken by Modi's government, including a crackdown in Muslim-majority Kashmir.

Modi has defended the law as a humanitarian gesture.

READ NEXT: Indian Parliament Approves Citizenship Bill, Sparking Protests

This article was originally published on Deutsche Welle. Read the original article here.

TNL Editor: Daphne K. Lee (@thenewslensintl)

If you enjoyed this article and want to receive more story updates in your news feed, please be sure to follow our Facebook.