Ricky Ponting will draw his glittering career to a close against South Africa in Perth.
At a press conference at the WACA on Thursday afternoon, Ponting revealed that his 168th Test — equalling Steve Waugh's Australia record - would be his last.
"A few hours ago I let the team know about my decision to make this Test match my last," Ponting said.
"At the end of the day it was based on my results and my output in this series so far.
"I've said all along that I would continue to play this game and contribute to wins to play well enough to help teams win games.
"Over the last couple of weeks my level of performance hasn't been good enough to do that."
Ponting said he would continue to play out the remainder of the summer with Tasmania and Hobart Hurricanes in the Big Bash League.
"My immediate focus is what we're presented with tomorrow and that's an unbelievable opportunity," he said.
Australia will take the No.1 Test ranking if they can beat South Africa in the third and final Test of the series.
"We're going into what I believe is almost a grand final," Ponting said.
"I'm hungrier than ever and want this win probably more than any game I've ever played in.
"If we win then there's no better time to give it away anyway.
"Ironically this is where it all started (Perth) for me and it's where it's going to finish."
Asked whether there was a single dismissal which prompted the decision to retire, and whether he was pushed by selectors, Ponting said: "I want to be a consistent performer.
"There hasn't been one dismissal or one moment, but just a build-up of consistent failure.
"This is not a decision that was made by the selectors, this was made by me.
"I'm glad that I have the opportunity to finish on my terms.
"They've (teammates) never seen me emotional, but they have this morning."