Atletico Madrid have reached a deal with Chelsea to sign striker Diego Costa.
The Spain international will travel to Madrid in the coming days to undertake a medical and finalise personal terms.
The 28-year-old will reportedly cost a fee that could rise to €60million, depending on bonuses.
Costa will complete his move in January, when the transfer window reopens and Atletico's ban on signing new players comes to an end.
"Atletico Madrid and Chelsea have reached an agreement in principle for the transfer of Diego Costa," an Atletico statement confirmed.
"The agreement is subject to the signing of a contract between the club and the Spain international.
"The English club have granted permission to Diego Costa to travel to Madrid in the coming days in order to pass medical tests and to finalise his contract."
Chelsea also confirmed the news in a brief statement via their official website.
The news means the end is in sight for one of the more protracted transfer sagas of 2017, which began with rumours of a possible exit as early as January.
Costa then claimed in June that Chelsea boss Antonio Conte had told him via a text message that he was free to leave the club, despite having scored 20 goals to help them to a second Premier League title in three seasons.
Atletico have long been favourites to sign back the forward they sold to Chelsea in 2014 but a move during the most recent transfer window became impossible when the club failed to have a transfer ban - imposed by FIFA as punishment for irregularities in the recruitment of minors - overturned.
Costa has been in Brazil since July and has refused to return to Chelsea training, accusing the club of treating him "like a criminal".
Conte laughed off the comments and said he would not pick the striker even if he made himself available, having signed Alvaro Morata from Real Madrid to become his first-choice forward.
21 de marzo 2018
|Yaya Toure yet to report for international duty, confirm Ivory Coast|
|Masters favouritism could hinder Woods, Thomas claims|
|I wish I could still play with him – Ortiz on Red Sox addition Martinez|
|Morrison confirms plans to play for Jamaica|
20 de marzo 2018
|Warriors target Friday return for Curry against Hawks|
|Starc and Marsh set to play at Newlands|
|Red alert: Richard Sherman ´excited´ to be a 49er|
|Germany should be proud to have Sane, says Tah|
|Bertrand out of England friendlies with back injury|
|Optimistic McIlroy ´crossed that line´ with Bay Hill win|
|Young backs Mourinho over Shaw treatment|
|BVBolt? Athletics great scores header while training in Dortmund kit|
|Fekir will look to leave Lyon the right way, says agent|
|Ex-Springboks coach Meyer takes charge at Stade|
|Spieth relishing Reed match play showdown|
|Alisson loves Roma and we haven´t discussed Liverpool move, insists agent|
|Henderson becomes third Ireland player to sign new deal|
|Romo ready to create ´mental bubble´ ahead of PGA Tour debut|
|McTominay: I always wanted to play for Scotland|
|Chiesa vows to honour Astori with Italy displays|
|England´s Pope ready for Heaton challenge amid World Cup race|
|Lautaro Martinez confirms impending Inter move|
|Morata wasn´t happy with Spain snub, admits Alonso|
|Raiola rages over Italy´s Balotelli snub|
|Injured Saunders postpones Murray fight|
|PGA tightens security at Dell Match Play in wake of Austin bombings|
|Raiola hopes Reina to Milan hastens Donnarumma exit|
|F1 Raceweek: Hamilton prepares to begin title defence in Melbourne|
|Former Sevilla coach Berizzo eyeing return after beating cancer|
|Cutrone did not expect whirlwind Milan season and Italy call-up|
|Saints punish North for missing training|
|´Happy´ Kepa mulled over Real Madrid move|
|GGG wants Saunders next if Alvarez bout is called off|
|Former All Black Mika passes away|
|Lucas Vazquez keen on Real Madrid stay|
|South Africa delighted to call on ´world´s best´ Rabada|
|Tiger Woods continues climb in FedEx Cup, world rankings|
|Juventus clear Chiellini of serious injury|
|Newcastle charged as youth team allegedly breach advertising regulations|
|Kearney joins Best in extending Ireland contract|
|I did not betray Roma – Pjanic could not pass up Juventus opportunity|
|Cardiff Blues appoint Mulvihill as Wilson replacement|
|Title-chasing Sarri closes on Napoli renewal as he hopes to repay fans|
|Cook: I wasn´t close to quitting during Ashes|
|Messi and Ronaldo reveal World Cup kits|
|Nara praises Inter project as Icardi talks continue|
|Best to lead Ireland in World Cup after signing extension|
|Marseille´s Rami wants to ´tickle´ PSG|
|Fury targeting Louis´ record for title defences|
|Salah can push on to Messi´s level - Robertson|
|Rabada free to play in rest of South Africa-Australia series|
|F1 2018: Halo splits opinion ahead of Australia debut|
|Iniesta better than last year – Lopetegui|
|Federer yet to decide on clay-court season|
|Okon quits as Mariners head coach|
|LeBron triple-double powers Cavs past Bucks as Love returns|
|Lopetegui: Morata must earn World Cup spot|
|Ronaldo has asked about China – Scolari|
|Ebron signs two-year deal with Colts|
|Spieth, Reed to do battle in Match Play|
|Rangers´ Perez slaughtered, ate bull that caused broken elbow|
|Bills improve offensive line with Bodine, Newhouse|
|Braves phenom Acuna to start season in minors|
|Chargers add Pouncey on two-year deal|
|Ronaldo: I always show I´m the best|
|Joshua would love another Whyte tear-up, says Hearn|
|Manchester United not in Jorginho talks, says Napoli star´s agent|
19 de marzo 2018
|Hazard will not be false nine for Belgium, says Martinez|
|Bancroft confident on Starc and Marsh fitness|
|Mayweather to apply for MMA licence|