The Pakistani team Halts the Proteas' 10-match Winning Streak.
The left-arm pacer secured a quartet of wickets in the final innings after failing to take a wicket in the first session.
First Test, the Gaddafi Stadium (the fourth day)
Pakistan 378 (Imam 93, Agha 93; Senuran Muthusamy 6-117) & 167 (Babar Azam 42; the spinner 5-57)
South Africa 269 (Tony de Zorzi 104; Noman Ali 6-112) & 183 (Brevis 54; Shaheen Afridi 4-33, Noman 4-79)
The hosts secured a 93-run victory
The national team halted the reigning champions the Proteas' unbeaten run by achieving a 93-run margin victory in an thrilling and competitive first Test in the city of Lahore.
The Proteas, whose 10-Test unbeaten run in Test cricket culminated in victory over the Aussies in the World Test Championship final in the month of June, were dismissed for 183 chasing 277.
Starting the day on 51 for two, they lost century-maker De Zorzi lbw to left-arm quick Afridi to the third delivery of the day to shift the tightly balanced chase in Pakistan's favour.
Left-arm spinner Noman, who secured 10-191 in the game, removed Stubbs for two and clean bowled Brevis, who put up a fight with a rapid 54.
Off-spinner Sajid Khan also took advantage of significant spin to end opening batsman Rickelton's stay - he faced 145 balls for 45 runs - and Afridi returned in the post-lunch session to knock over the lower order with a impressive exhibition of reverse swing.
He trapped Verreynne lbw for nineteen and dismissed Subrayen and Rabada to secure the victory.
It was each team's first match of the 2025-2027 Test championship cycle and propels Pakistan directly into the number two spot after table-toppers the Australian team.
The win was founded on key performances of ninety-three by opening batsman Imam-ul-Haq and, crucially, all-rounder Salman Agha which boosted them to 378.
From there spinners Noman and Sajid Khan took advantage of helpful home pitches, as they did in their series victory over England last year, to sustain their lead.
The second and final Test begins on October 20.