South African paceman Duanne Olivier was the main destroyer of Pakistan earlier in the day, bowling short and fast - as he's done all series - to rock the tourists' batting lineup with his 5-51. In the midst of Markram's 126-run second wicket stand with Amla, with Pakistan's seamers having made a tepid start on a track that seemed to be playing flat and true, it appeared three milestones - Amla's, Markram's and Elgar's - could follow according to the script, and that Hamza could ease past one, or perhaps even two, in his debut innings.
Where can I stream South Africa vs Pakistan? .
The pair's partnership is now on 102 following the early dismissal of stand-in captain Dean Elgar for 5.
Markram, who had to pass a fitness test after suffering a badly bruised right thigh while fielding in the second Test in Cape Town, looked set for his fifth Test century until he glanced a ball from the medium-paced Faheem and wicketkeeper Sarfraz Ahmed dived to his left to take a good catch. Amla batted for a while after that but eventually got out for 41.
De Bruyn missed his fifty by a single run when he got out with South Africa's score at 229-4.
Theunis de Bruyn and debutant Zubayr Hamza built another critical partnership for the fourth wicket.
But the runs dried up after the interval as South Africa were able to add only 36 runs for the loss of seven wickets in 19.4 overs, hitting only four more boundaries. South Africa may yet win this game under Elgar's leadership, but such a result looked a long way off when he left the field with an audible f-bomb after being caught behind for 5 this morning.
For Pakistan, everything fell into place in the last session else there was some ordinary as well.
Talented youngster Shaheen Shah Afridi could be rested for this final Test as he has started to look somewhat worn out as many of their players did in the last Test so Hasan Ali could come back in while spinner Shadab Khan could be handed an opportunity to get some more experience in the Test match format. Faheem Ashraf was the most successful bowler with three dismissals to his name.
The day ended with Pakistan's score at 17 for 2 and Imam-ul-Haq along with nightwatchman Abbas at the crease.