danilo-medina_web.jpgSANTO DOMINGO, Dominican Republic (AP) —President Danilo Medina signed a law creating a path to citizenship for people of Haitian descent born in the Caribbean country.

The government now has 60 days to create the system and determine how the civil registry office will validate birth certificates for those seeking citizenship.

Legislators approved the law following an international outcry over a court’s ruling in September that people born in the Dominican Republic to illegal migrants were not automatically entitled to citizenship, basically rendering thousands of people stateless.

Human rights groups say the new law doesn’t go far enough, noting it applies only to those who are registered with the government. Medina signed the law on Friday.

The Senate gave final legislative approval two days earlier, with all 26 lawmakers present in the Senate chamber voting for the bill during an emergency session. The measure was introduced by Medina’s administration and the lower house unanimously passed it a week earlier.

Medina submitted the bill after an international outcry erupted over a ruling last year by the country’s Constitutional Court allowing the government to strip the citizenship of thousands of people born to migrants living illegally in the country.

Rights groups estimate about 200,000 people could lose their citizenship, nearly all of them of Haitian descent. But the government maintained that only 24,000 people would be affected, with some 13,000 of them of Haitian ancestry.

The court’s ruling aggravated longstanding tensions between the Dominican Republic and Haiti, which share the island of Hispaniola. Both countries withdrew their ambassadors at one stage.

Anibal de Castro, the Dominican Republic’s ambassador to the U.S., praised the president and the country’s lawmakers for their swift action in approving the legislation.

“Through this historic legislation, President Danilo Medina fulfilled his commitment to finding a just and equitable solution for undocumented persons, while giving clarity to an outdated system,” de Castro said in a statement.

The legislation seeks to uphold citizenship rights for children born to foreign parents but only those who are registered with the government’s civil registry and who have various identification documents.

Critics of Medina’s bill have noted that many people do not possess those documents or government officials seized them from those who did. They say the legislation will force these people to register as aliens in the land of their birth.

Under the legislation, people without the proper documents but who are able to prove they were born in the Dominican Republic will have a window of 90 days to register for regular immigration status. They can then apply for full citizenship after two years of residency.

Juliana Deguis Pierre, a woman of Haitian descent who has been fighting for her Dominican citizenship, said she hoped the measure achieves what it promises.

The Dominican electoral board, which is responsible for the civil registry, will oversee a public awareness campaign to ensure that people across the country know what the new citizenship rules are.