Former England manager Sven-Goran Eriksson will join a Liverpool Legends management team for a charity game at Anfield against Ajax Legends in March.
Eriksson, 75, revealed in January that he has "best case a year" to live after being diagnosed with cancer.
The Swede also said he was a Reds fan and had "always wished to be the manager of Liverpool".
Liverpool said Eriksson "will join a dugout of LFC greats, including Ian Rush, John Barnes and John Aldridge".
Announcing that Eriksson will form part of the management team for the game on 23 March, the club added: "All connected with the club and LFC Foundation look forward to warmly welcoming LFC fan Sven and his family to Anfield - and seeing him in the dugout on the day - for a fantastic fundraising occasion."
Liverpool supporters had called on the club to allow Eriksson to manage a Liverpool Legends team following his announcement about his health.
"I heard for the first time about his admiration or love for Liverpool and that he was a fan for his whole life," said Liverpool manager Jurgen Klopp last month.
"I heard now about the Legends [game] and stuff like that. I'm not in charge of that.
"The only thing I can say is absolutely he's very welcome to come here and he can sit in my seat in my office and do my job for a day if he wants. That's no problem.
"Being on the sideline might be a little bit more difficult. To have him here and show him everything and how this wonderful club developed over the years, I think that's definitely something we will tell him.
"He can come over and have a few wonderful hours here, I'm sure."
Sweden's Eriksson was the first foreign coach to manage England and led the side to the quarter-finals of the 2002 and 2006 World Cups as well as Euro 2004.
He won the Uefa Cup with Gothenburg, and the Cup Winners' Cup with Lazio, who he also led to the Serie A title during a long and successful management career, which included spells at Manchester City and Leicester City.
Our coverage of Liverpool is bigger and better than ever before - here's everything you need to know to make sure you never miss a moment