Barcelona have completed the signing of Manchester City legend Sergio Aguero on a free transfer.
The 32-year-old striker underwent medical tests in Spain on Tuesday (AEST), just two days after his last match for City ended in a 1-0 UEFA Champions League final defeat to Chelsea.
The Argentina international, who will link up with friend and international teammate Lionel Messi at Camp Nou, has signed a two-year contract that contains a €100 million (A$158 million) buy-out clause.
He will join on July 1 after his City contract expires.
"Everyone at Manchester City would like to take this opportunity to thank Sergio for his incredible contribution to our success over the last decade and wish him well on the remainder of his career," the English champions said in a statement.
Aguero spent five years in La Liga with Atletico Madrid until 2011, when he moved to City for a reported fee of £35 million.
He scored a club-record 260 goals in 389 appearances in all competitions during a glittering decade in Manchester.
Aguero, who famously secured City's first Premier League title in 2011-12 with an injury-time winner against QPR on the final day of the season, won the top-flight title five times in England.
He also won six EFL Cups and the FA Cup in 2018-19 as part of a domestic treble under Pep Guardiola, who described the forward as "a special person" who would be irreplaceable for the club.
Aguero scored twice on his final league appearance for City in the 5-0 win over Everton this month. The goals took him to 184 in the Premier League – fourth in the all-time charts – and broke Wayne Rooney's record for the most goals scored in the competition for a single club.