Wanindu Hasaranga became the third bowler to take a hat-trick in the history of the T20 World Cup. He joined the likes of Brett Lee and Curtis Campher to achieve the landmark.
He dismissed the likes of Aiden Markram, Temba Bavuma and Dwaine Pretorius to complete his hat-trick in the ongoing tournament.
David Miller hit two sixes in the last over as South Africa shrugged off a hat trick from Wanindu Hasaranga to beat Sri Lanka by four wickets at the T20 World Cup on Saturday.
Quinton de Kock returned after declining to play the last game against West Indies when the South Africa players were ordered to take a knee for the Black Lives Matter movement.
He made 12 and took a knee alongside all the other players on the field ahead of the start.
Miller launched his late attack, with support from Kagiso Rabada, to lift South Africa from 112-6 in the 18th over to 146-6 and beyond the target of 143 with one ball to spare.