Pak 223-7published at 49.1 overs
A full toss to start and it's crunched to the deep cover fielder.
Pakistan take a single. Five required.
Pakistan go above England in World Cup table
Imad Wasim stars with unbeaten 49 as Pakistan win with two balls to spare
Afghanistan posted 227-9 thanks to stubborn middle order
Afghan and Najibullah both make 42
Shaheen impresses once again, taking four wickets - including two in two balls
Callum Matthews
A full toss to start and it's crunched to the deep cover fielder.
Pakistan take a single. Five required.
What?
Gulbdin Naib is going to bowl again.
I am speechless.
Leg side from Rashid Khan and Imad Wasim jogs through for a single.
Pakistan need six off the final over.
Wahab Riaz reverse sweeps for a single.
Mel Jones can't believe he's just played that stroke.
Wahab misses with another heave.
Ooh a googly is well kept out by Wahab Riaz and Pakistan somehow get two.
The horns are blaring out around Headingley. Eight needed.
Daniel Norcross
BBC Test Match Special
Wow! Wahab Riaz! He's decided that's how he's going to play.
He connects this time!
Huge from Wahab Riaz as he slog-sweeps Rashid Khan about 15 rows back.
Dot ball.
Wahab aims a heave into Bradford.
Here's that huge let-off that Imad Wasim got.
Awful from Asghar Afghan.
#bbccricket
Jed Court: I think Gulbadin Naib might be the worst international cricket captain of at least the last 20 years.
#bbccricket
Sam: This is unbelievable. Never experienced an atmosphere like this at a sporting event in my life.
Wahab Riaz taps into the covers for a single before Imad Wasim can only squirt to point off the final ball and it's a dot.
Pakistan need 16 off the final two overs.
Imad Wasim has crunched a straight drive back at Mujeeb Ur Rahman and the ball cannons off his foot and into the on side and Pakistan sneak a single.
Mujeeb Ur Rahman is going to bowl his final over.
He starts with three dot balls. 18 required off 15 balls.
#bbccricket
Ashic: Does feel like Gulbadin tries to play hero captain and ends up losing his team the match.
Phil Long
BBC Test Match Special statistician
Afghanistan have beaten Sri Lanka, West Indies, Bangladesh and Ireland - but this would be the highest-ranked team they had beaten.
#bbccricket
Matt Biggs: Would love to see Afghanistan bring this home, somehow. And that’s not to help another team that should qualify for the final four on merit not the results of others.
Mel Jones
Ex-Australia batter on BBC Test Match Special
I'm still getting over Gulbadin bowling himself and going for 18. That baffles me.
Pakistan's technique for diving in for a single needs a bit of work.
Shot!
Glorious from Wahab Riaz.
Rashid Khan hangs one out wide and Wahab just throws his hands at it and smokes it to the cover boundary.
Pakistan need 18 off 18 balls.