Lahore: South Africa set Pakistan a record total to win the second and final Test here after centuries from Graeme Smith and Jacques Kallis on the fourth day at Gaddafi Stadium on Thursday.
Smith scored 133 for his first century in two years, while Kallis made 107 not out as the tourists declared their second innings on 305-4 at tea on the penultimate day to give Pakistan a mammoth target of 457 runs to win.
AB de Villiers was the other unbeaten batsman on eight when Smith declared the innings.
The highest target achieved in a Test is 418-7 made by the West Indies against Australia at Antigua in 2003.
South Africa won the first Test in Karachi by 160 runs.
The third-wicket stand between Smith and Kallis yielded 207 runs and put the tourists in complete command to win their first Test series against a major sub-continent team since 2000.
Smith, on 75 overnight, became cautious after entering the 90s before he pushed part-time bowler Younis Khan for several runs in the last over before the interval to complete his century - his first in 17 Tests.
Smith's last Test hundred came against the West Indies at Antigua in May 2005.
Pakistan's problems were compounded by the absence of frontline paceman Mohammad Asif, who aggravated an elbow injury on Wednesday.
Scans revealed Asif has inflammation in his elbow and needs a week's rest to recover, ruling out any chance of him bowling in this match. He bowled just four overs in South Africa's second innings.
Asif's new-ball partner Umar Gul, who took one wicket, also had to return to the dressing room because of fatigue, leaving Pakistan with only two frontline bowlers in the hour before lunch.
Captain Shoaib Malik dropped Kallis on 47 to further dash Pakistan's chances of breaking through.
Malik was forced to bowl with leg-spinner Danish Kaneria and left-arm spinner Abdul Rehman after taking the second new-ball -- something unseen in Pakistan cricket.
Kaneria finally broke the stand when Smith miscued a sweep and was caught at point. Smith's 296-ball knock had 17 boundaries.
The more sedate Kallis also completed 400 runs in two Tests, improving his own South African record for a short two-match series of 388 which he made against Zimbabwe six years ago.
He reached his hundred in 336 minutes of batting, hitting seven boundaries.
Brief Scores (at tea, D-4):
South Africa 357 and 305 for four decl (Smith 133, Kallis 107) Vs Pakistan 206.