Ancelotti revealed he urged Inzaghi to stay with Milan last month.
"To this day, Pippo Inzaghi remains the greatest and he helped me win so many trophies. He's like a brother to me. I called him when he was considering leaving in January and said he made Milan history, so should stay there right to the end.
"Inzaghi will say goodbye to football with great style and I will be there that day to salute him," he said.