Brazil and Real Madrid legend Roberto Carlos has announced his retirement at Anzhi Makhachkala and will now become the Russian club's director.
The full-back, who won the 2002 World Cup, joined Anzhi in February 2011 but was taken off their squad list several months ago and has not been playing.
Carlos, 39, has consequently decided to hang up his boots and is planning a farewell match against Real before moving into a hierarchy role with Anzhi.
"Roberto had been a world-class player but unfortunately he doesn't play anymore," said former Russia boss Guus Hiddink, who was appointed Anzhi coach in February.
"Fortunately, Roberto will now take up a role to develop this club for the good of the game in the Dagestan region and the whole of Russia."
Carlos, twice a Copa America winner, won 125 caps for Brazil and played at the 1998, 2002 and 2006 World Cups.
He spent 11 seasons at Real Madrid and still had time for a stint in Turkey with Fenerbahce before moving home to play for Corinthians.