Ryan Rickelton scored 259 as South Africa seized control on day two of the second Test against Pakistan at Newlands.
Rickelton, who started the day 176 not out with the hosts 316-4, posted another 83 runs before being caught off the bowling of Mir Hamza shortly before tea.
It was the 28-year-old’s first time opening in Test cricket and his 259 moves him joint-seventh for the highest Test score by a South African alongside Graeme Smith against England in 2003.
Captain Temba Bavuma (106) and wicketkeeper Kyle Verreynne (100) also reached three figures, while all-rounder Marco Jansen passed 50 shortly before tea.
Spinner Salman Ali Agha took three wickets, while Hamza and Mohammad Abbas took two each.
South Africa lead 1-0 in the two-match Test series.
The latest series between Australia and India for the Border-Gavaskar Trophy delivered unbelievable moments — from Travis Head’s stunning century in Adelaid
Australian sensation Sam Konstas has opened up on the “holy crap” moment in his Test debut, while also lifting the lid on clashes with Virat Kohli and Jaspr
England's men's players have the "power" to make their own stand and refuse to play Afghanistan in the Champions Trophy, according to Labour MP Tonia Antoniazzi
A poor result usually speeds up transition, and this Indian team has been in transition for a while now. The pace of change, however, has been slow, with the od