Barcelona have loaned former Turkey global Arda Turan to Istanbul Basaksehir for the rest of this season and two more, the Liga leaders said in a statement on Saturday.
The negotiations intensified in the last hours and have culminated to a very unusual agreement.
"The Turkish International leaves the Club after two and a half seasons in which he has won everything there is to win domestically with the blaugranes".
Barcelona announced the signing of Turan from Atletico Madrid for an initial fee of £24m in July 2015 but, due to their 14-month ban on registering new players, he could not make his debut until the start of 2016.
Turan lifted one top flight title, two Spanish Cups and a UEFA Super Cup during his stay with Barcelona but now moves on to pastures new with Super Lig side Basaksehir.
Keith Jackson, voice of college football, dies at 89
Jackson initially retired from broadcasting after calling Tennessee's BCS Championship win over Florida State in January 1999. He spent four years in the Marine Corps before attending Washington State and graduating with a broadcast journalism degree.
Turan joined Barcelona in 2015 from Atletico Madrid for £24.2m but with the arrival of club-record signing Philippe Coutinho, the 30-year-old has made a decision to pursue first-team opportunities in Turkey.
Turan appeared in 55 games with the Catalan club, scoring 15 goals.
Arda opted to join Barca from LaLiga rivals Atletico Madrid in July 2015, but a transfer ban imposed on the club meant he did not debut until the following January.
Basaksehir confirmed earlier this week that they had agreed personal terms with Turan but that they still had to finalise the deal with Barca.