Pakistan has set a target of 370 runs for South Africa on the fourth day of the test match held in Rawalpindi on Sunday.
Green shirts were dismissed for 298 in their second innings. Batsman Mohammad Rizwan became the talk of the town as he scored 115 runs and extended the score of 200 to 369.
Spinners George Linde finished the innings with figures of 5-64 and Keshav Maharaj finished with 3-118.
Earlier on Saturday, South Africa was bowled for 201 runs by Pakistan in the second and final Test match played at the Rawalpindi Cricket Stadium on Saturday.
South African skipper Quinton de Kock began the third day on 24 and Temba Bavuma on 15. But the captain made only five runs as Shaheen Afridi sent him back to the pavilion on 29.
Wiaan Mulder was run out by Shaheen/ Mohammad Rizwan as he made 33 runs. Moreover, George Linde was bowled for a run-a-ball 21 by Hasan Ali.
Hasan Ali took his wicket tally to five in the innings, he bowled George Linde, Keshav Maharaj (1), and Anrich Nortje (0). Abid Ali succeeded in bowling Kagiso Rabada (0).