Britain is now on course to leave the European Union at the end of this month after Boris Johnson’s Brexit bill cleared its final parliamentary hurdle.
The prime minister’s Withdrawal Agreement Bill is set to be given royal assent and become law after it was passed by the House of Lords.
Mr Johnson’s deal still needs to be ratified by the EU Parliament.
It then went to the Lords, where a number of amendments were made.
The amendments included protecting the rights of refugee children to join their families post-Brexit. Ministers claimed they supported the principle of the Dubs amendment but argued that the Brexit bill was not the right way to do it.
They were all defeated in the House of Lords on issues including EU citizens’ rights, the power of UK courts to diverge from EU law and the independence of the judiciary after the UK leaves the EU.
Brexit minister Lord Callanan claimed the culmination of the parliamentary process represented ‘the end of what seems like a very long road’.
He said: ‘The final stages of this bill represent something which many of us thought might never happen – parliament passing the legislation necessary to implement a Brexit deal and to finally deliver on the 2016 referendum.’