Spinners Nauman Ali and Yasir Shah rattled South Africa to help Pakistan win the first Test by seven wickets inside four days in Karachi.
Nauman, a 34-year-old left-arm spinner making his Test debut, returned 5-35 and Shah took 4-79 to dismiss South Africa for 245 in the second innings before lunch on day four.
It set up a small target of 88 and despite Anrich Nortje’s (2-24) twin strike in one over, Pakistan reched that goal before tea in 22.5 overs.
Azhar Ali remained unbeaten on 31 while Fawad Alam raised the victory with a boundary off left-arm spinner Keshav Maharaj.
“To be honest, scoring 220 in the first innings wasn’t enough and that’s where we let ourselves down the most,” South Africa skipper Quinton de Kock said.
“The way we lost the match, it wasn’t our best. We just go back, prepare and come back mentally stronger (for the second Test in Rawalpindi from February 8).”
It was only Pakistan’s fifth victory in 27 Test matches against South Africa, who won at the same venue when they last toured in 2007.
Nauman and Shah shared 14 wickets in the match as South African batsmen struggled against spinners in both innings.
The win earned Babar Azam success in his first Test as Pakistan skipper. He was due to lead the side in the last series in New Zealand but missed it because of a fractured thumb.
“Credit goes to all the players,” Babar said. “Spinners were getting lot of assistance from the pitch which helped us a lot to win within four days.
“We made a strong comeback through senior players Fawad Alam and Azhar Ali in the first innings which built our confidence.”
Nortje clean bowled Abid Ali (10) and then had Imran Butt (12), playing his first Test, caught behind before Maharaj had Babar (30) trapped leg before wicket when only two were needed for victory.
Pakistan had been in control since taking a 158-run first-innings lead, when its lower order rallied from 4-27 to reach 378, helped by Alam’s gritty century.
South Africa resumed Friday on 4-187 and things immediately got worse for the tourists when fast bowler Hasan Ali bowled night-watchman Maharaj with the first delivery of day four.
Captain de Kock, who fell to a reckless shot in South Africa’s first innings of 220, failed for the second time against the spinners, offering a regulation catch off Shah.
Nauman then got into the act by having George Linde (11) caught at leg slip as South Africa’s lower order struggled to read the left-arm spinner on a turning track.
Nauman wrapped up the innings by claiming the last three wickets off his successive overs.
Temba Bavuma resisted for nearly two hours to score 40 off 93 balls before he was the last man dismissed.