Dani Alves has agreed a new contract at Barcelona which will keep him at the club until June 2015.
Speculation regarding the Brazilian's future had intensified over recent weeks, with it revealed that he was locked in talks regarding a new deal.
With the two parties having initially failed to reach an agreement, it was suggested that the buccaneering full-back could be on his way out of Camp Nou.
Barca were reluctant to risk losing him for nothing at the end of his deal in 2012, and the likes of Manchester City were reportedly ready to pounce.
Such rumours have now been put to bed, though, with Alves committing his long-term future to the Catalan giants.
The 27-year-old has been on the books at Barca since 2008, having completed a big-money switch from Sevilla that summer.
He has gone on to become an integral part of Pep Guardiola's plans, helping the club to eight major trophies - including two Primera Liga titles and a UEFA Champions League crown.
A statement on the club's official website read: "Barcelona has reached an agreement with Dani Alves to extend his contract with the club for the next three seasons, until June 30, 2015.
"The signing will take place tomorrow, Wednesday."