NEW DELHI, March 11 — India announced rules today to implement a 2019 citizenship law that critics call anti-Muslim, weeks before Prime Minister Narendra Modi seeks a rare third term for his Hindu nationalist government.

The Citizenship Amendment Act grants Indian nationality to Hindus, Parsis, Sikhs, Buddhists, Jains and Christians who fled to Hindu-majority India from Muslim-majority Afghanistan, Bangladesh and Pakistan before December 31, 2014.

Modi’s government had not crafted implementation rules for the law, after protests and sectarian violence broke out in New Delhi and elsewhere within weeks of the law’s December 2019 enactment. Scores were killed and hundreds injured during days of clashes.

“The Modi government announces implementation of Citizenship Amendment Act,” a government spokesperson said in a text message.

“It was an integral part of BJP’s 2019 manifesto.

This will pave (the) way for the persecuted to find citizenship in India,” he said, referring to the ruling Bharatiya Janata Party’s (BJP) 2019 election manifesto.

Muslim groups say the law, combined with a proposed national register of citizens, can discriminate against India’s 200 million Muslims - the world’s third-largest Muslim population. They fear the government might remove the citizenship of Muslims without documents in some border states.

The government denies accusations that it is anti-Muslim and has defended the law, saying it is needed to help minorities facing persecution in Muslim-majority nations.

It says the law is meant to grant citizenship, not take it away from anyone, and has called the earlier protests politically motivated.

Modi swept to power in 2014 and has consolidated his hold since with a focus on growth, welfare economics, boosting infrastructure and aggressive Hindu nationalism.

Opinion polls suggest he will comfortably win a majority in a general election that must be held by May. — Reuters