The Pakistani team Ends the Proteas' 10-match Winning Streak.
Shaheen Afridi claimed a quartet of wickets in the final innings following failing to take a wicket in the first session.
First Test, Lahore (the fourth day)
The home side 378 (Imam 93, Agha 93; Senuran Muthusamy 6-117) & 167 (Babar 42; the spinner 5-57)
South Africa 269 (De Zorzi 104; Noman 6-112) & 183 (Dewald Brevis 54; Shaheen Afridi 4-33, Noman Ali 4-79)
The hosts secured a 93-run victory
The national team brought an end to world champions the Proteas' unbeaten run by sealing a 93-run win in an exciting and closely contested opening Test in the city of Lahore.
South Africa, whose 10-Test winning streak in the longest format ended with victory over the Aussies in the WTC final in the month of June, were dismissed for 183 in pursuit of 277.
Having resumed on 51 for two, they saw the dismissal of first-innings centurion De Zorzi lbw to pace bowler Afridi to the third delivery of the day to push the finely-poised chase in Pakistan's favor.
Left-arm spinner Noman, who claimed 10-191 in the match, removed Stubbs for 2 and bowled Dewald Brevis, who put up a fight with a run-a-ball 54.
Right-arm spinner Sajid also capitalized on sharp turn to terminate opening batsman Rickelton's innings - he faced 145 balls for 45 - and Afridi came back in the post-lunch session to dismiss the tail with a fine display of reverse swing.
He trapped Verreynne lbw for 19 and bowled Subrayen and Kagiso Rabada to seal the victory.
It was both sides' opening game of the 2025-27 Test championship cycle and propels Pakistan straight into second place behind table-toppers the Australian team.
Their victory was founded on key performances of 93 by opening batsman Imam-ul-Haq and, crucially, all-rounder Agha which lifted them to 378.
After that spinners Noman Ali and Sajid Khan took advantage of helpful home pitches, as they did in their series victory over the English team last year, to sustain their advantage.
The second and final Test starts on 20 October.