Alastair Cook had considered retiring from England duty for the last six months before finally announcing the end of his international career.
The 33-year-old, England's record run-scorer, had been pondering the move for most of the year and eventually made the decision ahead of last week's fourth Test with India, where his country secured a series win.
"It's hard to put it into words but over the last six months there have been signs in my mind this was going to happen," former England captain Cook said.
"I always had been mentally tough and had that edge to everything I've done and that edge had kind of gone."
Cook informed captain Joe Root before the game and head coach Trevor Bayliss while it was going on, but the rest of the squad found out in a beer-fuelled emotional speech afterwards.
"I told Rooty before the game and then told Trevor during the game," Cook said.
"At the end of the game I said, 'It might be good news, it might be sad for some, it might be happy for others but it's time and I have done my bit. I will play one more game'.
"There was a little bit of silence, then Mo (Ali) said something, everybody laughed and then it was forgotten about."
Cook will leave the game as the country's most decorated player, having maximised his talent to its fullest.
"I can look back and say, I became the best I could become, that actually means quite a lot to me," he said.
"I have never been the most talented cricketer, I don't pretend I was, but I definitely think I got everything out of my ability.
"Everyone was talking as if I'd died. It's nice when you hear so many nice words said about you. The last couple of days I have been back at home but I had a look last night.
"Hopefully this week can go well, score some runs and then I can go."