In the first Test match played in Karachi on Tuesday, fast bowler Kagiso Rabada took two wickets for just two runs.
Pakistan were in trouble at the end of the game with 33 runs for four wickets, they scored 220 runs. This is the second lowest run in the country.
Fourteen wickets fell on the Brown National Stadium pitch, which was expected to spin from day one.
Shortly after lunch, South Africa were bowled out for 108-2, but they lost their last eight wickets for just 112 runs – barely 214 in Faisalabad in 1997. Managed to score the lowest overall.
Spinners Yasir Shah (3-54), debutant Noman Ali (2-3-8) and fast bowler Shaheen Shah Afridi (2-49) suffered losses.
But then Rabada bowled Abid Ali (four) in his third over to pay the hosts with interest and then caught Debtant Imran Butt (nine) on a league slip during an increasing delivery.
He has now taken 199 wickets in 44 Tests.
Babar Azam, who led Pakistan for the first time in a Test, became a LBW by scoring seven runs off spinner Kishwa Maharaj.
In the end, Azhar Ali and Fawad Alam were not out for five runs. Pakistan scored 187 runs for the loss of six wickets.
Earlier, opener Dan Elgar scored 58 runs for South Africa while George Linde (35) and Rabda scored 21 runs.
Elgar lamented his team’s poor batting, saying South Africa now had the upper hand.
“I wouldn’t have said that after my batting, but then we fought back with wickets,” he said.
“Knowing that this pitch will get tougher, and knowing that we have good spinners, I’m sure we can go further.”
Elgar scored his 16th Test half-century – with the help of nine fours – before he took Noman into Azam’s hands during the slip.
Elgar and Faf du Plessis (23) consolidated the innings for the third wicket after Eden Markrum (13) and Rossi van der Dawson (17) were dismissed in the first session.
South Africa entered the first Test in Pakistan in 14 years – with two spinners, Keshiu Maharaj and George Linde, exploiting the bare foot which is expected to take the spin.
Pakistan handed over Test caps to 34-year-old left-arm spinner Noman Ali and 25-year-old opener Imran Butt in a combination of three pacers and two spinners.
Pakistani umpire Aleem Dar, who has played in the most international games (391), is overseeing his first Test in Pakistan since taking his first position in 2000.
Dodd got his first chance at home after being allowed to appoint local match officials for international matches, as there are travel bans due to the Cove 19 epidemic.
Babar Azam (captain), Abid Ali, Imran Butt, Azhar Ali, Fawad Alam, Fahim Ashraf, Muhammad Rizwan, Noman Ali, Yasir Shah, Hassan Ali, Shaheen Shah Afridi
Quentin de Kock (Capture), Eden Markram, Faf du Plessis, Dan Elgar, Temba Bauma, Kagsu Rabada, Casio Maharaj, Longi Engidi, Rasi van der Dawson, Enrich Nortje, George Linde
Aleem Dar (PAK) and Ahsan Raza (PAK) TV Umpires: Asif Yaqub (PAK)
Muhammad Javed Malik (PAK)