Lawmakers in France’s lower house of parliament on Thursday adopted a bill to enshrine abortion rights in the country’s constitution, the first step in a lengthy and uncertain legislative battle prompted by the rollback of abortion rights in the United States.

The vote was 337-32 in the 557-member National Assembly.

To be added into the constitution, any measure must be first approved by majorities in the National Assembly and the upper house, the Senate, and then in a nationwide referendum.

Authors of the proposal, from a left-wing coalition, argued the measure was aimed at “protecting and guaranteeing the fundamental right to voluntary termination of pregnancy.”

Abortion in France was decriminalized under a key 1975 law, but there is nothing in the constitution that would guarantee abortion rights.

Mathilde Panot, head of the hard-left France Unbowed group at the National Assembly and co-signatory of the proposal, said that “our intent is clear: we want not to leave any chance to people opposed to the right to abortion.”

French Justice Minister Eric Dupond-Moretti said the centrist government supports the initiative.

He referred to the U.S. Supreme Court’s decision in June, which eliminated the federal constitutional right to abortion and left the decision to the states.

“The right to abortion we thought was acquired for 50 years [in the U.S.] was in reality not at all acquired,” he said.

A recent poll showed that more than 80% of the French population supported the right to abortion. The results were consistent with those in previous surveys. The same poll also showed that a solid majority of people were in favor of enshrining it in the constitution.

Centrists’ proposal dropped

French President Emmanuel Macron’s centrist alliance, Renaissance, on Thursday decided to withdraw a similar proposal that was meant to be debated Monday also in the National Assembly. Centrist and leftist lawmakers agreed instead on supporting a single bill saying that “the law guarantees the effectiveness and equal access to the right to voluntary termination of pregnancy.”

Success isn’t guaranteed for supporters of the bill. The Senate, where the conservative party, the Republicans, has a majority, rejected a similar bill in September. The Republican senators argued the measure was not needed since the right to abortion was not under threat in France.

Dupond-Moretti said he was “hopeful” that some senators could change their minds and form a majority in favor.

He and other proponents of constitutional change argue that French lawmakers should not take any chances on fundamental rights, since it is easier to change the law than the constitution.

The right to abortion enjoys broad support across the French political spectrum, including from Marine Le Pen’s far-right National Rally. Yet Le Pen in recent days said she was opposed to the leftist proposal because she thought it could lead to extending or abolishing the time limit at which a pregnancy can be terminated.

Following the U.S. Supreme Court decision in June, Macron had tweeted that “abortion is a fundamental right for all women. It must be protected.”