JP Duminy registered South Africa's first World Cup hat-trick as his side beat Sri Lanka by nine wickets in the first quarter-final at the Sydney Cricket Ground on Wednesday.
The off-spinner dismissed Sri Lanka captain Angelo Mathews with the final ball of his eighth over and returned to send back Nuwan Kulasekara and Tharindu Kaushal with the first two deliveries of his next to achieve the milestone.
- PHOTOS: South Africa v Sri Lanka
Duminy thus became the ninth bowler to grab a World Cup hat-trick and, interestingly, did it ahead of the team's frontline bowlers.
He is the first spinner after Pakistan's Saqlain Mushtaq (1999) to achieve the feat.
The World Cup hat-trick takers' list features only one Indian in Chetan Sharma, who accomplished the feat way back in 1987 against New Zealand.
In another statistical milestone, Sri Lankan veteran Kumar Sangakkara became the sixth player to score 500 runs in the World Cup.
The 37-year-old, who will hang up his boots from 50-overs cricket following Wednesday's defeat, needed four runs to reach the mark ahead of the match. He produced a slow-paced 45-run knock as Sri Lanka were shot out for 133 in 37.2 overs.
The Proteas hit up the required runs for the loss of one wicket (Hashim Amla, 16) in 18 overs.
List of Hat-trick takers in the World Cup
1987: Chetan Sharma (India) v New Zealand (Ken Rutherford, Ian Smith, Ewen Chatfield)
1999: Saqlain Mushtaq (Pakistan) v Zimbabwe (Henry Olonga, Adam Huckle, Pommie Mbangwa)
2003: Chaminda Vaas (Sri Lanka) v Bangladesh (Hannan Sarkar, Mohammad Ashraful, Ehsanul Haque)
2003: Brett Lee (Australia) v Kenya (Kennedy Otieno, Brijal Patel, David Obuya)
2007: Lasith Malinga (Sri Lanka) v South Africa (Shaun Pollock, Andrew Hall, Jacques Kallis, Makhaya Ntini)*
2011: Kemar Roach (West Indies) v Netherlands (Pieter Seelaar, Bernard Loots, Berend Westdijk)
2011: Lasith Malinga (Sri Lanka) v Kenya (Tanmay Mishra, Peter Ongondo, Shem Ngoche)
2015: Steven Finn (England) v Australia (Brad Haddin, Glenn Maxwell, Mitchell Johnson)
2015: JP Duminy (South Africa) v Sri Lanka (Angelo Mathews, Nuwan Kulasekara, Tharindu Kaushal)
*Malinga got four wickets in four balls
Grateful Tahir happy to repay South Africa
South Africa thrash Sri Lanka, break 'knock-out jinx'
Tendulkar leads cricket world in lauding Sanga, Mahela
Misbah says Pakistan won't mind facing India again at World Cup
Former players back Younis Khan's inclusion for quarter-finals