A pro-EU demonstrator sets up banners outside a London conference center, where trade talks were being held on Dec. 4.

Caption

A pro-EU demonstrator sets up banners outside a London conference center, where trade talks were being held on Dec. 4. / AP

Updated at 3:20 p.m. ET

With the clock ticking down, the United Kingdom and the European Union finally agreed to a free trade deal a week before the Brexit transition period ends and 4 1/2 years since Britons voted in a landmark referendum to leave the EU.

British Prime Minister Boris Johnson hailed the agreement as a way for the country's businesses to continue to have tariff-free and quota-free access to the massive EU market while delivering on the promise of the 2016 Brexit campaign.

"We've taken back control of our laws and our destiny," said Johnson, speaking from No. 10 Downing Street. "British laws will be made solely by the British Parliament. ... We will be able to set our own standards."

Even as he was effectively completing the final steps in Britain's divorce from the EU, Johnson tried to present their future relationship in a warm light. "We will be your friend, your ally, your supporter," he said.

In Brussels, European Commission President Ursula von der Leyen was more reflective. She said she is usually joyful at the end of negotiations, but in this case, she felt relief. And, she suggested, some sadness.

European Commission President Ursula von der Leyen prepares to address a news conference on post-Brexit trade negotiations at EU headquarters in Brussels, Thursday.

Caption

European Commission President Ursula von der Leyen prepares to address a news conference on post-Brexit trade negotiations at EU headquarters in Brussels, Thursday. / AP

"Parting is such sweet sorrow," said von der Leyen, quoting Britain's most famous author. "To all Europeans," she added, "it is time to leave Brexit behind, our future is made in Europe."

The two sides were able to reach agreement by resolving a difficult dispute over the EU's continued access to British fishing waters. Johnson said the U.K. share of fish would rise from half of the catch today to two-thirds after more than five years.

Fish account for less than 1% of the British economy, but played an outsize role in negotiations. The powerful 2016 slogan of "take back control" from the EU, applied not just to laws, but also fishing waters.

The U.K. and the EU also found agreement on what's known as the "level playing field" — adherence to regulations on the environment, workers' rights and state subsidies that ensure businesses in one country, in this case the U.K., don't enjoy an unfair advantage over those in the EU.

The deal averts a worst-case divorce that would have hurt the EU economy but damaged the British economy even more. Had the U.K. walked away from the EU single market of nearly 450 million consumers empty-handed, the country could have lost more than 8% of growth in per capita income over the next decade, according to The UK in a Changing Europe, a leading group of academic researchers. A so-called no-deal Brexit also threatened to engulf British ports in regulatory and customs chaos at the turn of the year.

The U.K. got a glimpse of what that could look like last weekend when France closed the border after a coronavirus variant that scientists believe is much more infectious spread throughout London and southeastern England. The border closure caught the British government off guard and stranded thousands of trucks around the Port of Dover. France reopened the border Wednesday, but said that travelers and truckers — most of them European — could not cross the English Channel unless they tested negative for the coronavirus.

The new trade deal is what is known as a hard Brexit, meaning the British and EU economies will no longer have the close regulatory alignment they've enjoyed for decades. Economists say that even with the deal, Britain's per capita income will be 6.4% lower over the next decade than it would've been if the U.K. had remained part of the EU.

Johnson insists that leaving the EU will benefit the U.K. in the long run. He says it will allow Britain to negotiate independent free trade deals with other major economies, such as the United States and China, unencumbered by the bureaucracy, regulations and collective decision-making in Brussels, where the union is headquartered.

Britain's Prime Minister Boris Johnson speaks during a news briefing in Downing Street, London, Thursday, after Britain and the European Union struck a free trade agreement.

Caption

Britain's Prime Minister Boris Johnson speaks during a news briefing in Downing Street, London, Thursday, after Britain and the European Union struck a free trade agreement. / AP

Being part of the European Union has meant U.K. companies could trade smoothly with Europe without tariffs or customs checks as if they were inside the same country. But one price of membership had been that EU citizens were allowed to live and work visa-free inside the U.K. It was amid anxiety over migration that British voters stunned the world in 2016 and voted to leave the EU.

The U.K. has spent most of this year in a transition period, which ends Dec. 31. Disruptions and backups at ports are could well follow as customs controls and new processes come into force at EU borders.

To minimize delays, the British government has told U.K. truckers that they will have to obtain a permit to enter the county of Kent, home to the Port of Dover and the Eurotunnel on the channel.

The deal still requires approval by the British Parliament next week. The European Parliament is expected to approve the deal retroactively next month. But this agreement begins to draw to a close one of the most tumultuous chapters in contemporary British history.

Brexit toppled two prime ministers — David Cameron and Theresa May — caused chaos in the U.K. Parliament and weakened the country's economy as well as its standing in the world. After decades in the European Union, which was designed to promote peace and prosperity after two world wars, the island nation of nearly 67 million people will strike out on its own. Many political analysts are skeptical of the move and view it as one of the greatest self-inflicted wounds by a major democracy in many years.

The repercussions may be far from over. Scotland voted against Brexit and many Scots feel they are being torn out of the EU against their will. Brexit and the British government's mishandling of the coronavirus pandemic has fueled support for Scottish independence.

"There is no deal that will ever make up for what Brexit takes away from us," tweeted Scotland's First Minister Nicola Sturgeon Thursday. "It's time to chart our own future as an independent, European nation."

The ultimate timing of the end of the Brexit saga is especially bad. The U.K. continues to grapple with the pandemic, which has killed more than 69,000 people — one of Europe's highest death tolls. Gross domestic product in Britain is expected to fall by 11% this year. That would be the largest drop since the Great Frost of 1709, when temperatures plunged in large parts of Europe, destroying crops, killing hundreds of thousands of people in France and devastating economies.

Copyright 2020 NPR. To see more, visit https://www.npr.org.