Allowed in rape cases, if the mother’s life is at risk or if the foetus presents a deadly birth defect.

Chile’s Congress has eased a strict ban on abortion in effect since the final days of the Augusto Pinochet dictatorship nearly three decades ago.

The measure, which was passed with a 22-13 vote, allows abortion in cases of rape, if the mother’s life is at risk or if the foetus presents a deadly birth defect.

It now awaits a ruling by the Constitutional Court at the request of the opposition.

Until now, the South American country has been part of a small group of socially conservative nations that barred abortion under all circumstances — including the Dominican Republic, El Salvador, Gabon, Haiti, Malta, Nicaragua, the Philippines and Senegal.

“We are satisfied. We have delivered alternatives, and safe health care options, to all women, regardless of the decisions they make,” said Claudia Pascual, Minister for Women and Gender Equality.

A priority for Bachelet

In this deeply conservative country, the measure has been a priority for leftist President Michelle Bachelet, Chile’s first woman President and a pediatrician by training.

Ms. Bachelet has worked since 2015 to overturn the strict ban on abortions put in place in 1989, in the final days of the Pinochet dictatorship.

Under current law, abortion is punishable by up to five years in prison.

Until the Pinochet-era change, abortion already was legal in Chile for five decades — in case of danger to the mother’s life or an unviable foetus.

Ms. Bachelet, after serving a first term as President, became the first chief of UN Women — the United Nations Entity for Gender Equality and the Empowerment of Women.

She had pledged to see the easing of the ban enacted before she leaves office in March 2018.

Conservative groups have historically had great influence in Chile, though they have lost ground in recent years.

Chileans had to wait until 2004 to be able to divorce, and until just two years ago to enter into same-sex civil unions.