India’s parliament Wednesday evening passed controversial changes to the country’s citizenship law.

The bill, which would grant citizenship to six minorities from Afghanistan, Pakistan and Bangladesh — all Muslim-majority nations in South Asia — was put to a vote in the Rajya Sabha (upper house) of parliament, where it passed 125-105, with 15 abstentions.

As the bill was already approved by the Lok Sabha, lower house of parliament, now it just needs the president’s signature to become the law.

Opposition parties led by the Indian National Congress have accused the Prime Minister Narendra Modi-led government of violating the constitution

Read more: Indian parliament passes controversial citizenship law