Barcelona reached agreement with Liverpool on the transfer of Luis Suarez on Friday, giving the troubled striker a chance to rehabilitate his image when his latest biting ban is over.
Suarez will travel to Barcelona next week for a medical and to sign a five-year contract.
"It is with a heavy heart that I leave Liverpool for a new life and new challenges in Spain," Suarez said in a statement released by Liverpool.
"Me and my family have fallen in love with this club and with the city. We will always be Liverpool supporters. This club did all they could to get me to stay, but playing and living in Spain, where my wife's family live, is a lifelong dream and ambition. I believe now the timing is right."
The Uruguay international is prevented from any involvement in football until the end of October after being handed a four-month suspension by FIFA for biting an Italian opponent at the World Cup in Brazil. His lost his appeal to FIFA on Thursday.
But Barcelona had no qualms in bolstering its strike force with the footballing pariah, in the hope he can help the team regain the Spanish title.
The 27-year-old Suarez can't train with his new Barcelona teammates under the terms of his ban for biting Giorgio Chiellini in Uruguay's group stage match against Italy.
The World Cup moment of madness came at the end of a season that began with Suarez also being banned for biting, on Chelsea defender Branislav Ivanovic during an April 2013 English Premier League match. Barcelona will be hoping Suarez brings his goal-scoring form to the Camp Nou — he netted 31 in the Premier League last season — rather than the hot-headed temperament.
When Suarez is eventually eligible to play again, Barcelona will be able to deploy a formidable front line including Lionel Messi and Neymar, as the club rebuilds under new coach Luis Enrique after its first season without a major trophy in six years.
Suarez's transfer marks the second successive year that the man voted English football's top player by his fellow professionals and journalists moved to Spain. Gareth Bale made an immediate impact after joining Real Madrid from Tottenham, making up for La Liga disappointment by winning the Champions League.
Suarez's transfer was a far smoother, less drawn-out saga compared with Bale's move, and his own tactics last summer when Liverpool prevented its star from leaving Anfield.
"We would like to thank Luis for his contribution and the role he played in helping bring Champions League football back to Anfield," Liverpool said in a statement on its website.
With Suarez already being banned for both racism and biting on Merseyside, Liverpool now avoids the need to take any disciplinary action against the player and can reinvest the transfer fee in the squad. Just how reliant Liverpool was on Suarez will become quickly apparent. It was only with Suarez's goals that Liverpool mounted an unexpected but ultimately unsuccessful challenge for the Premier League title last season.