Jacques Kallis became only the fourth South African batsman to hit a century in each innings as he guided his team to a record target against Pakistan in the first Test here on Thursday.
Kallis, who scored a masterly 155 in South Africa's first innings total of 450, remained unbeaten on 100 to help the tourists declare their second innings at 264-7, setting a target of 424 for the home team.
It is a tall order for Pakistan to come back given the world record for a highest target achieved is 418, which the West Indies made against Australia in Antigua in May 2003, while the home side managed only 291 in their first innings.
Kallis's second successive high-class knock demolished Pakistan's hopes of a fightback after spinners Abdul Rehman and Danish Kaneria took two wickets for one run in the first session.
The 31-year-old hit only four boundaries and a six during his near five-hour stay at the crease, proving his claim to be the best South African batsman in the longer version of the game.
He added 88 runs for the fourth wicket with Ashwell Prince (45) and another 63 runs for the sixth wicket with Andre Nel, who made a Test best 33.
Kallis, subdued after lunch with no boundaries for 55 balls, lifted Rehman to go within four runs of a twin hundred in the match. He took them all in singles to reach the three-figure mark off 210 balls in 289 minutes.
Alan Melville, Bruce Mitchell and Garry Kirsten are the other South Africans to score a century in each innings in Tests.
The tourists, looking for a match-winning margin on a spin-friendly pitch, resumed on 76-3 with a steady Kallis and Prince. The duo took the score to 132 without facing any problems.
Kaneria, surprisingly kept out of the attack in the first hour, provided the home team with a much-needed breakthrough.
Rehman then baffled AB de Villiers with a sharp turner to bowl the batsman for one.
Debutant Rehman, who took four wickets in the first innings, was the pick of the home bowlers with 4-105. Kaneria finished with 3-85.