Mohammad Yousuf [ Images ] marked his return to Test cricket with an undefeated 63 which allowed Pakistan to salvage a draw on the final day of the second Test against South Africa [ Images ] on Friday.
South Africa took the two-match series 1-0 after they won the first Test in Karachi by 160 runs.
It was the second time South Africa had won a Test series in Pakistan after 1997.
Pakistan finished on a total of 316 for four with Yousuf and captain Shoaib Malik [ Images ] (20) at the crease after being set a victory target of 457 runs.
Younis Khan [ Images ] (130), Kamran Akmal (71) and Yousuf batted sensibly and patiently to save the day which began on 108 for one with the visitors pushing for a second victory.
Inzamam-ul-Haq [ Images ] fell for just three runs in his final Test innings to end his career on 8,830 runs from 120 matches.
His failure came after Younis had scored his second century of the series and the 14th of his career and shared partnerships of 161 with Akmal and 89 with Yousuf.
Yousuf scored his 28th career fifty after he missed the first Test due to lack of match fitness.
He saw off the final attempt by the visitors to win the match when they took the second new ball immediately after tea.
Pakistan lost three wickets in the day. Akmal played on to his stumps after prodding defensively to left arm spinner Paul Harris and Younis was caught behind off Jacques Kallis [ Images ].
Inzamam, after playing his first shot to midwicket for a three, was out second ball when he jumped down the wicket to Harris and was stumped.
South Africa first innings 357
Pakistan first innings 206
South Africa second innings 305-4 (decl)
Pakistan second innings
Salman Butt [ Images ] c sub b Ntini 6
Kamran Akmal b Harris 71
Younis Khan c Boucher b Kallis 130
Mohammad Yousuf not out 63
Inzamam-ul-Haq st Boucher b Harris 3
Shoaib Malik not out 20
Extras (b-3, lb-14, w-5, nb-1) 23
Total (four wickets, 107 overs) 316
Did not bat: Misbah-ul-haq, Umar Gul, Mohammad Asif [ Images ], Danish Kaneria, Abdur Rehman
Fall of wickets: 1-15, 2-176, 3-265, 4-272
Bowling: Steyn 15-2-56-0, Ntini 17-3-60-1, Kallis 15-0-48-1, Nel 20-1-75-0, Harris 40-14-60-2
Result: match drawn
Man of the match: Jacques Kallis (South Africa). Kallis also named player of the series.