Colombia became the latest country in Latin America to expand access to abortion Monday as the nation’s Constitutional Court voted to legalize the procedure until the 24th week of pregnancy.

The decision by the tribunal of nine judges fell short of the expectations of pro-choice groups that had been pushing for abortion to be completely decriminalized in Colombia. But it was nevertheless described as a historic event by women’s rights groups, which estimate 400,000 women get clandestine abortions in the country each year.

Also read: Millions in tax dollars flow to anti-abortion centers in the US

Before the ruling, Colombia allowed abortions only when a woman’s life was in danger, a fetus had malformations or a pregnancy resulted from rape.

Now women in Colombia will be able to get abortions until the 24th week of their pregnancy without having to provide any justification. After the 24th week of pregnancy, abortion will still be restricted to women whose health is in danger.

Also read: Abortions in Texas fell 60% in 1st month after its new law

“We were trying to get the complete decriminalization of abortion … but this is still a historic step,” said Cristina Rosero, a lawyer for the New York-based Center for Reproductive Rights, an advocacy group that was one of five organizations that filed a lawsuit in 2020 to get the high court to review Colombia’s abortions laws.

The lawsuit argued that restrictions on abortion discriminated against women from low income areas for whom it was harder to get legal abortions, because they had less access to doctors, lawyers or psychologists who could help them to prove that carrying out pregnancies would put their health at risk.

Rosero said the changes made to Colombian law will now make it easier for people of lower income levels to access safe abortions.

Also read: Ukraine crises: Summit between US President Joe Biden, Russia’s Vladimir Putin unlikely, says official

“Our challenge now is to ensure that this ruling is implemented” she said.

Elsewhere in Latin America, Argentina, Uruguay and Cuba also allow abortions without restrictions until certain stages of pregnancy, while in Mexico a supreme court ruling recently said that women cannot cannot be tried in court for terminating their pregnancies.

Latin America is also a region where some countries prohibit the termination of pregnancy without exception, like in El Salvador, Nicaragua, Honduras and the Dominican Republic.