The script for Kallis' Test retirement could not have been better as he ended his career as the third highest run- getter in the longest format of the game, besides also bowing out with a win by his side.
The 38-year-old 'King' Kallis ended his Test career on 13,289 runs from 166 Tests, only behind Sachin Tendulkar (15,921) and Ricky Ponting (13,378) in the all-time list.
Kallis will continue to play in the One-Day Internationals and he has so far scored 11,574 runs from 325 ODI matches and has taken 273 wickets at an average of 31.79.
The burly South African, who made his Test debut against England here in December 1995, acknowledged that the script could not have been better.
"It's been incredible, the way people have come out to support me, the way CSA and my team-mates have made it a special game. I could not have asked for more," Kallis said after South Africa clinched the two-match series against India 1-0 here.