The UK's competition watchdog has reissued an order to Meta to sell animated images platform Giphy.
The Competition and Markets Authority (CMA) said this ruling was final, after going back and forth with the tech giant since its decision was first announced last year.
The CMA found that the takeover of the gif-creation website could harm social media users and advertising.
A Meta spokesperson said it accepted the decision but was "disappointed".
The ruling is the first time the UK has blocked an acquisition by a tech giant, signalling a new determination to scrutinise digital deals.
Meta had bought Giphy – the largest supplier of animated gifs to social networks such as Snapchat, TikTok and Twitter – in 2020.
The CMA investigated the sale and published its original decision in November 2021, ordering Meta to dispose of Giphy.
Meta, then called Facebook Inc, had been fined a record £50.5m for refusing to comply with the CMA during the investigation.
Meta had hoped its purchase of Giphy would improve finding gifs and stickers on its social networks Instagram, WhatsApp and Facebook.
While Meta maintained that Giphy would be "openly available" to other social networks, the CMA's investigation found the buyout would harm competition in social media and advertising.
Meta appealed against this decision, but in July the Competition Appeal Tribunal found in the CMA's favour on all but one ground, which was related to third-party confidential information.
After that finding, the CMA said it reviewed its original decision that Meta would have to sell Giphy and was standing by it.
It said it was concerned the deal would not only limit choice for those on social media but it would also reduce innovation in digital display advertising in the UK.
Stuart McIntosh, chair of the independent inquiry group carrying out the CMA's investigation, said there was no other option but for Meta to sell Giphy.
"This deal would significantly reduce competition in two markets," he said.
"It has already resulted in the removal of a potential challenger in the UK display ad market, while also giving Meta the ability to further increase its substantial market power in social media."
In a statement, the social network said it accepted the decision, adding: "We are grateful to the Giphy team during this uncertain time for their business, and wish them every success.
"We will continue to evaluate opportunities – including through acquisition – to bring innovation and choice to more people in the UK and around the world."
Paul Stone, from law firm Charles Russell Speechlys, told the BBC: "The significance of the CMA's decision is that it underscores the body's concerns about the impact of the deal on future innovation in digital advertising.
"This seems to be key to the CMA's approach to regulating big tech in the UK, where preserving competition from small but potentially significant future challengers can be at least as important as maintaining competition between already established players in the sector."
Facebook fined £50m by UK competition watchdog
Facebook's Giphy takeover under investigation
Music industry 'as tough as it has always been'
Tory PM hopefuls need backing of 100 MPs by Monday to enter race
Truss exit sets off another Tory leadership race
US citizen admits causing Harry Dunn crash death
We secretly filmed our lives in occupied Kherson
Ukrainian troops under close gunfire. Video
Nasa shows how a war zone faded from space
Under-pressure Putin 'doubles down' with security decree
Everything we know about Taylor Swift's songwriting
India's virtual stars whose real faces you won't see
Brazil's winemakers aiming to toast more global sales
US reminds pro-Putin Hungary it's a Western ally
Can Bolivia's women inspire change in US Congress?
How emotional cheating destroys couples
A controversial archaeological find
The US' puzzling, paranormal mystery
© 2022 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.