(CNN)British lawmakers voted to back the United Kingdom's post-Brexit trade deal with the European Union on Wednesday, on the eve of the December 31 deadline marking the end of the transition period.
The bill passed comfortably, 521 to 73, following accelerated sittings in both Houses of Parliament. The deal, finalized last week, marks a significant milestone more than four years after the UK voted to leave the EU and after months of fraught negotiations.
Opening the debate on Wednesday, Prime Minister Boris Johnson told Members of Parliament that the deal would "open a new chapter in our national story," and allow the UK to take "control of our laws and our national destiny."
"This bill, it embodies our vision -- shared with our European neighbors -- of a new relationship between Britain and the EU as sovereign equals, joined by friendship, commerce, history, interests and values, while respecting one another's freedom of action and recognizing that we have nothing to fear if we sometimes choose to do things differently," Johnson said.
The bill gained approval in the House of Lords late Wednesday, and was given royal assent early Thursday, becoming law hours before the Brexit transition period ended -- a situation that could have been disastrous in the event of no deal -- at 11 p.m. on December 31.
The agreement has already received provisional approval from the European Union, with both European Commission President Ursula von der Leyen and European Council President Charles Michel formally signing off on the deal on Wednesday.
"It has been a long road. It's time now to put Brexit behind us," von der Leyen said on Twitter, announcing the move. "Our future is made in Europe."
The European Parliament is expected to examine the deal at a later date before it can be formally ratified by the European Union.
The deal agreed with Brussels sets out a new business and security relationship with the UK's biggest trading partner after months of deadlock over areas such as fishing quotas, how the UK would use state aid to support British businesses post-Brexit, and legal oversight of any deal struck.
The agreement, which preserves Britain's tariff- and quota-free access to the bloc's consumers, spares the UK some of the most dire potential consequences from Brexit as it battles a crippling pandemic.
But while it should give a short-term boost to the economy, the trade agreement will still leave the country poorer at a time when it faces a jobs crisis and the worst recession in more than 300 years.
The deal also appears to mostly cover trade in goods, where the UK has a deficit with its EU neighbors, but excludes key service industries like finance, where it currently enjoys a surplus.
A summary of the deal has been published on the UK government's website.
Opposition leader Keir Starmer, who campaigned against Brexit, said the bill was "thin" and failed to protect trade in the service sector, but that the Labour Party would support it given the devastating alternative: Leaving the transition period without a deal.
The bill -- which is 80 pages long, in contrast to the Trade and Cooperation Agreement's (TCA) more than 1,200 pages -- has also been criticized for being rushed through.
The Hansard Society, a leading constitutional research organization, published a blog post describing the process as a "farce."
"Parliament is considering implementation of the TCA less than 48 hours before it is to be applied -- so late as to make 'no-deal' the only possible alternative, and to be of extremely limited use to those directly affected by it," Brigid Fowler, senior researcher at the Hansard Society, wrote.
The vote comes against the backdrop of surging Covid-19 cases in the UK as a more contagious variant of the virus runs rampant through the country.
But there was also a ray of hope on Wednesday: UK regulators approved the use of the Oxford University/AstraZeneca coronavirus vaccine, which is cheaper and easier to distribute than some rivals and could in time offer a route out of the pandemic for large parts of the world.