Francesco Totti has confirmed his retirement as a player by accepting a directorship role with Roma.
The 40-year-old, who represented the Giallorossi for 24 years, played his last game for the Serie A club in May but his status since had been uncertain as he fielded offers.
In an interview published on Roma's official website on Monday evening, Totti admitted his illustrious on-pitch career was a thing of the past and that a new life in football management awaited him.
He said: "The end of my playing career was May 28, 2017. That for me was an historic day.
"I'll carry it with me forever. It will be hard to explain to people the feelings and emotions I felt that day.
"The first part of my life, as a player, has ended but now I'm heading into an equally important part as a manager, hoping to do as well as I did on the field."
Totti made his debut as a 16-year-old in 1993 and won the Scudetto once, in 2001. His 786th and final appearance for Roma was as a substitute in a 3-2 league win over Genoa at the Olimpico.
He was reportedly close to making a swansong switch to China or Major League Soccer but has instead hung up his boots.
"I never wanted that game to end, that day to end," said Totti, who is Roma's all-time leading goalscorer with 307 in all competitions.
"For me it was too important, too significant, too exciting.
"The game has given me so much and I tried to give so much back to the people who have showed me so much love day after day.
"Now I'll try to make myself available at all 360 degrees, from the youth team to the president. It might take six months, a year, two years... I don't know how long it will take to find the role I prefer."
Francesco Totti's career in numbers
Take a look at the remarkable numbers from Totti's long career at the Stadio Olimpico.
786 - Roma's all-time appearances record holder. He is 225 games ahead of team-mate Daniele De Rossi in the charts and 619 of his outings have come in Serie A, where he is level with Gianluigi Buffon and 28 behind Paolo Maldini in the appearances table.
307 - Roma's all-time leading goalscorer. Totti is 169 ahead of Roberto Pruzzo, on 138 goals. Totti won the Golden Boot once, in the 2006-07 season, when he hit 26 goals.
250 - Most goals for a single club in Serie A. Totti is second in the all-time leading goalscorers' table, 24 behind Silvio Piola. That is also four more than the current Roma squad's combined tally.
58 - Caps he won for Italy. Totti netted nine times for his country in eight years before deciding to retire after the World Cup win in 2006.
22 - Age at which he took the armband for Roma, making him the youngest club captain in Serie A history.
16 - Age at which he made his debut for Roma. He was brought on as a substitute in the 2-0 victory at Brescia on March 28, 1993.
11 - Most goals scored in the Rome derby. His first came in November 1998, when he equalised with nine minutes left in a 3-3 draw with Lazio, and his last two came in the 2-2 draw in the 2014-15 season where he celebrated his second by taking a selfie on the pitch.
9 - Times he has finished as a runner-up in the Serie A title race. The seasons Roma have finished second with Totti on board were 2001-02, 2003-04, 2005-06, 2006-07, 2007-08, 2009-10, 2013-14, 2014-15 and 2016-17. They finished runners-up Inter Milan and Juventus four times each, while AC Milan also beat Totti to the Scudetto.
3 - International trophies he has won with Italy. He won the European Under-21 Championship in 1996, the Mediterranean Games (under-23) in 1997 and the World Cup in 2006. He scored the controversial stoppage-time penalty against Australia on the road to glory in Germany.
1 - Serie A titles Totti won with Roma. His sole Scudetto came in the 2000-01 season where the Italian striker scored 13 goals as he helped his side win the league by two points from Juve.