What is the Withdrawal Agreement Bill?
The government's Withdrawal Agreement Bill (WAB) ↗, which will take the UK out of the EU on 31 January, has passed all its stages in Parliament and been given Royal Assent.
The WAB turns Boris Johnson's withdrawal agreement, which is a draft international treaty, into UK law and gives the government permission to ratify it.
No new clauses or amendments were passed by MPs, who also rejected changes made in the House of Lords.
What's in it?
What does the WAB actually cover? Among other things:
What's been changed?
A number of clauses in the previous version of the bill have been removed. They include:
Between 2016 and 2018, 426 unaccompanied children came to the UK in this way ↗.
Transition period
After the WAB becomes law, the withdrawal agreement also needs to be ratified by the European Parliament.
Then the stage will be set for Brexit on 31 January, when the post-Brexit transition period will begin.
For 11 months, the UK will still follow all the EU's rules and regulations, it will remain in the single market and the customs union, and the free movement of people will continue.
The challenge for the government will be to get all its new rules and policies in place by the end of this year.
This article was originally published on 21 October and has been updated to reflect changes to the Withdrawal Agreement Bill and its passage towards becoming law.
What claims do you want BBC Reality Check to investigate? Get in touch