Chelsea have confirmed that they have reached an agreement to sign Willian from Anzhi Makhachkala.
The Brazilian had looked to be on the verge of joining Tottenham earlier this week but the Blues have outmanoeuvred their London rivals and the forward will now move to Stamford Bridge subject to a work permit being granted.
A statement on www.chelseafc.com read: "Chelsea Football Club can confirm an agreement has been reached with both Willian and his club Anzhi Makhachkala for the transfer of the Brazilian player.
"The transfer is subject to a work permit hearing on Wednesday."
The 25-year-old had got as far as completing a medical at Spurs but his about-turn will come as a boost to Blues boss Jose Mourinho, who has been looking to add to his attacking options this summer.
The Portuguese has had two bids rejected for Manchester United striker Wayne Rooney and is now being linked with another Anzhi player in Samuel Eto'o.
Mourinho hinted that Willian had chosen the Blues over Spurs in his press conference on Friday, although the player had yet to complete his medical at that point.
"I think he's already made his decision," Mourinho said.
The self-styled 'Special One' nodded in the affirmative when asked if that was Chelsea.
He added: "I don't like to speak before time because football can be crazy.
"I know what the player wants, so in this moment we cannot hide. That is a possibility."
Willian began his career in his homeland with Corinthians before moving to Europe with Shakhtar Donetsk in 2007.
He made over 100 appearances for the Ukrainians before moving to Anzhi in January of this year but his Russian adventure will be short-lived.
Mourinho is now likely to turn his intentions to getting Rooney, with a third bid planned after Monday's Barclays Premier League clash at Old Trafford.
Chelsea have been told repeatedly that Rooney is not for sale, but still Mourinho is chasing his man.
"When you own a player, you have a contract with a player for a long time, even if the player wishes to leave - and sometimes that happens," Mourinho said.
"That contradiction happens. The player wants to leave, the club wants to keep (him).
"We (managers) have to make a decision one way or another way. We have to persuade the player to stay, or the player persuades us to sell."
Asked how he rates Chelsea's chances of signing Rooney, Mourinho said: "I don't care. In this moment I don't care."
Where the Willian move leaves Spurs now is unclear, with the forward seemingly lined up as their replacement for Gareth Bale should he complete his move protracted to Real Madrid.
This latest development could prove to be yet another delay in the summer's longest-running transfer saga and possibly increase the chances of the Welshman staying in north London.
1988: Born Willian Borges da Silva on August 9 in Ribeirao Pires.
1998: Joins Corinthians and rises through the club's youth ranks.
2005: Helps Corinthians win the famed Copa Sao Paulo de Futebol Junior.
2007: January - Wins South American Under-20 Championship with Brazil.
May 3 - Makes league debut in a 1-0 victory over Juventude.
August 2 - Scores first goal for Corinthians in a 2-2 draw against Atletico-PR.
August 23 - Signs a five-year deal with Shakhtar Donetsk after agreeing a £12million move to the Ukrainian side.
September 15 - Makes debut in a 2-1 victory over Chornomorets Odesa.
October 31 - Scores first goal for the club in a 4-1 victory over Arsenal Kyiv.
2008: May - Ends first season at the club having won the Ukrainian league and cup.
2009: May - Wins the Europa League with Shakhtar following their 2-1 extra-time victory over Werder Bremen.
2010: May - Wins the Ukrainian league again with Shakhtar.
2011: Scores eight goals in 43 appearances as Shakhtar win a domestic treble.
November 10 - Makes international debut in Brazil's 2-0 win over Gabon.
2012: January - Chelsea and Tottenham both enquire about his availability, but Shakhtar hold on to their star man.
May - Helps Shakhtar to another league and cup double.
July - Admits he was "really upset" to have been denied a move to England and reveals he is close to Tottenham manager Andre Villas-Boas. "He always sends me messages. He has become a friend, for sure," Willian says.
2013: January 31 - Completes a £30million move to Anzhi Makhachkala.
February 14 - Makes Anzhi debut in 3-1 Europa League win over Hannover.
August 7 - Transfer-listed after Anzhi's billionaire owner Suleiman Kerimov outlines plans to slash the club's hefty wage budget.
August 20 - Tottenham and Liverpool make a move for the player, and he appears to have chosen north London over Merseyside.
August 23 - Chelsea manager Jose Mourinho indicates Willian has chosen a move to Stamford Bridge, despite having previously passed a medical with Spurs.
August 25 - Chelsea announce they have signed Willian, subject to a work permit being granted.