Martin Demichelis is quitting from professional football career as a player.
The 36-year-old Demichelis played in two World Cups for Argentina, helping it reach the final in 2014.
Demichelis will have the chance to play his last match on Sunday when Malaga hosts Real Madrid in the Spanish league.
Born in Cordoba, Argentina, Demichelis played for River Plate before signing with Bayern Munich in 2003, where he also won four German Cups and reached the Champions League final.
After his first stint at Malaga, he joined Manchester City and helped it win the 2014 Premier League title. He spent the first half of this season at Espanyol before rejoining Malaga.