South Africa secured their first win in Dublin since 2012 with a 24-13 victory in a gripping Autumn Nations Series test over an ill-disciplined Ireland side that at one point were reduced to 12 men.
Tries by Damian Willemse, Cobus Reinach and Sacha Feinberg-Mngomezulu, as well as a penalty
try, saw the world champions home.
The Irish stayed in the match despite James Ryan receiving a 20-minute red card - the first of his career - and Sam Prendergast, Jack Crowley, Andrew Porter and Paddy McCarthy being sin-binned.
South Africa can make it four wins from four on their northern hemisphere tour if they beat Wales next weekend.