South Africa survived a late charge from Pakistan to pull off a thrilling one-wicket win and move closer to the semi-finals of the World Cup on Friday. Aiden Markram hit a solid 91 and at 206-4 South Africa were well on course to comfortably chase down a 271-run target. However, it was left to the last pair of Keshav Maharaj and Tabraiz Shamsi to score the final 11 runs. Shamsi survived a close leg-before appeal that went to umpire's call off fast bowler Haris Rauf with eight needed. The incident took place on the final ball of the 46th over.