A liberalisation of abortion in Northern Ireland has been overwhelmingly backed by peers.
The House of Lords supported the controversial move in a free vote by 182 to 37, majority 145.
The revised amendment was brought forward to address "technical problems" with the change to legislation previously approved by the Commons.
The proposal requires the law change comes into force in the new year, although the Government indicated the timescale could cause problems.
Introducing the amendment, Liberal Democrat Baroness Barker said it would ensure women were no longer criminalised for having an abortion in Northern Ireland.
She also said those who had fought long and hard for change were fearful that demands for consultation on the issue might be used to "frustrate the will" of MPs and said her amendment would not allow for the proposals to be "dragged out".
But Northern Ireland Minister Lord Duncan said consultation would not be about "whether this should be done", and only on how the recommendations could be implemented, complying fully with human rights obligations.
He said: "Any consultation would not be about restricting abortion. It will be about how, in practical terms, to establish a new regulatory regime that fully delivers on the recommendations."
The Northern Ireland (Executive Formation) Bill seeks to again push back reintroducing a law placing a legal duty on Northern Ireland Secretary Karen Bradley to call a fresh assembly election.
The aim is to give the Stormont parties more time to resolve the long-running deadlock in the province and restore the powersharing executive, two and a half years after it collapsed.
However, during consideration in the Commons, MPs agreed a series of changes to the legislation, including on abortion.
Terminations in Northern Ireland are only allowed in cases where a woman's life is at risk or if there is a danger of permanent and serious damage to her mental or physical health.
The move by the UK Parliament to legislate on the sensitive devolved issue in the absence of an administration at Stormont has fuelled controversy and led to tense exchanges during the Bill's report stage in the House of Lords.
Independent crossbencher Baroness O'Loan argued there were "huge gaps" in the amendment.
Appealing to peers, she said: "I would ask you again not to rush into legislating in this way, it really cannot be said to be fit for purpose."
In opposing the amendment, Democratic Unionist Party peer Lord McCrea of Magherafelt and Cookstown said he was standing by a promise he and his colleagues had made to voters.
He also sought to cast suspicion on the conduct of the debate, saying: "It makes one believe that much of what we are going through has been carefully choreographed."
Labour leader in the Lords, Baroness Smith of Basildon stressed she and other peers "would far rather" the decisions were being made at Stormont.
She said: "If we rejected this today it would not cut the number abortions at all."
As well as women and girls being forced to travel outside Northern Ireland to get a legal abortion, Lady Smith added: "Women risk their life and liberty by illegally buying abortion pills online, which they then take without any medical expertise or support and often delay seeking care if there are any complications."
Lord Duncan said: "It is important to ensure that the regime which we bring into Northern Ireland is human rights compliant."
The minister also admitted he was "struggling" with the deadline of January 13, 2020, set out in the amendment.
"It is important for me to stress that our ambition is to try and realise this in a safe and secure manner for the women of Northern Ireland," he added.
Lord Duncan sought to reassure peers by giving a guarantee that no abortions would be carried out over 24 weeks.