MADRID (AFP) - Lionel Messi will end his 20-year career with Barcelona after the Argentine superstar and the Spanish giants were unable to overcome "economic and structural obstacles" to a new deal, a bombshell certain to spark a high-stakes scramble for a player widely regarded as one of the greatest of all time.
"Although an agreement has been reached between FC Barcelona and Leo Messi it cannot be formalised due to economic and structural obstacles," said a statement from the club.
"Faced with this situation, Lionel Messi will not be staying at Barcelona. Both sides deeply regret that the wishes of both the player and the club cannot come true.
"FC Barcelona wholeheartedly expresses its gratitude to the player for his contribution to the aggrandisement of the club and wishes him all the very best for the future in his personal and professional life."
Six-time Ballon d'Or winner Messi, 34, last month finally landed a major international trophy with Argentina when they beat rivals Brazil to win the Copa America.
But there had been doubts over his continuation at Barcelona ever since he tried to leave last August as a free agent, citing a clause in his contract and saying the club had had "no project or anything for a long time".
Messi, Barca's all-time top scorer, appearance maker and with who he win 35 trophies, ultimately agreed to see out the final year as the club threatened to go to court.
The player, who signed his first contract with Barcelona in 2000 on a napkin when he was just 13, has been a free agent since June 30 when his old agreement expired after Messi had played 788 games for the club.
Last season was a comparative disappointment as the club could only land the Spanish Cup and exited in the last 16 of the Champions League, which they last won back in 2015.
There had been speculation that Messi would sign on for two years and then potentially head to Major League Soccer, although friend and former Barca teammate Neymar has said he would love to team up with him again at Paris Saint Germain.
Barcelona are labouring under debts of several hundred million euros and have been under pressure to reduce their wage bill.
The club recently sold left back Junior Firpo to Leeds United and US international Konrad de la Fuente to Marseille.
La Liga in 2013 introduced so-called financial "fair play" regulations setting a maximum amount of money each club can spend on its playing squad and coaching staff each season, conditioned by their income.
At the same time Barcelona has recruited new players which were expected to please Messi, such as Sergio Aguero who joined the Catalan side from Manchester City as a free agent on a two-year deal.
Spanish media made much earlier this year of the reported 555 million euros paid Messi over four seasons from November 2017 to the end of last month.
National daily El Mundo splashed in January on what it termed "Messi's pharaonic contract which is ruining Barca" - that sum including image rights and a series of performance-related bonuses with the player reportedly earning a net 297 million euros.
Messi had been tight lipped about his plans.
He granted just two interviews over the past year - one in December and the other at the end of the season - and both times he said "nothing has been decided".
But Joan Laporta had made keeping Messi on the team a priority ever since he was re-elected as Barcelona president in March.
"Leo loves Barca and knows that we are a big family. Hopefully, that can help us encourage him to stay," he said at the time.
The last president Josep Maria Bartomeu was forced to resign in October after the club's members succeeded in achieving a vote of no confidence against him following Messi's attempt to leave.
Meanwhile, bookmakers were leaning towards PSG at Messi's next destination.
"Punters think the Argentinian wizard's next destination is likely to be 1,000km north in Paris, with PSG the 5/6 favourites to secure his signature," said Darren Hughes of bookmakers.co.uk.
"For those that think the latest twist in this sorry tale may prove to be yet another double-bluff, Messi is 10/3 to start next season in Camp Nou.
"Other options include Manchester City at 7/2, or any MLS club at 11/1, while even a return to his homeland with Newell's Old Boys is a staggering 20/1."