Cape Town - Dani Alves has agreed terms over a new two year contract with treble-winners Barcelona, the club announced on Tuesday.
Alves has put pen to paper on a new deal which provides the star defender with an option of staying at the club for a third season.
The Brazilian right-back was a key part of the team's historic second European treble and joins Pedro and Jordi Alba as stars to commit their futures to the Catalan giants.
Alves was expected to depart the club after failing to agree to new terms with the likes of Manchester United and AC Milan reportedly eager to sign the defender on a free transfer on July 1.
Alves joined Barcelona from Sevilla in 2008 for a fee in the region of £30 million.