Pakistan kept their nerve to avoid a huge shock on Saturday, beating a spirited Afghan side by three wickets with just two balls to spare to keep their World Cup semi-final hopes alive. Imad Wasim hit Afghanistan skipper Gulbadin Naib for a boundary through the covers to seal the win off the fourth ball of the last over, prompting chaotic scenes as fans poured onto the Headingley pitch.