London: Pakistan are heading out of the World Cup despite scoring an impressive 315-9 in their final group match against Bangladesh on Friday.
Sarfaraz Ahmed's side needed to smash the world record for margin of victory in a one-day international but, after winning the toss at Lord's, they failed to muster enough runs to give them a chance.
Bangladesh were needed to be dismissed for seven or lower if Pakistan were to deny New Zealand a place in the semi-finals alongside Australia, India and England. Bangladesh openers, expectedly, brought the seventh run off the fifth ball of the second over, to deny all mathematical possibilities for Pakistan to sneak their way into final four.
Pakistan, backed by thousands of passionate flag-waving fans, started curiously slowly in the London sunshine, crawling to 38-1 after 10 overs.
Imam-ul-Haq and Babar Azam stepped on the gas, reaching their 150 partnership for the second wicket off 146 balls.
But Babar was out shortly afterwards for an impressive 96 off 98 deliveries.
Babar had batted beautifully, hitting 11 fours as he and Imam laid the foundation for a late-innings flourish.
But in another huge blow for Pakistan, Imam was next to go when he trod on his stumps after scoring exactly 100, to leave them 246-3 in the 42nd over, with Mohammad Hafeez departing in the next over.
A late flourish boosted the score but Pakistan lacked the power-hitters to pile up the runs they needed, with the first six of the innings coming in the 47th over, hit by Imad Wasim.
Mustafizur Rahman took five wickets for Bangladesh, including a superb caught and bowled to dismiss Shadab Khan.
A win against Bangladesh would put Pakistan level with New Zealand on 11 points but their net run-rate is markedly inferior.
Pakistan were shot out for a paltry 105 in their first match, with the West Indies winning in just 13.4 overs, meaning they took a huge hit on run rate.
They won just one of their first five matches, coming back strongly to beat South Africa, New Zealand and Afghanistan to sit fifth in the 10-team table, but in the end have left themselves too much to do.
Find latest and upcoming tech gadgets online on Tech2 Gadgets. Get technology news, gadgets reviews & ratings. Popular gadgets including laptop, tablet and mobile specifications, features, prices, comparison.
The 30-year-old left-hander tested negative along with 34 other players and 20 members of the squad but suffered fever, forcing Pakistan Cricket Board (PCB) to withdraw him.
The squad's "exemption to train while in managed isolation has been put on hold until investigations have been completed", the governing body said, adding that the six positive players would be moved into strict quarantine.
With Azam, the world number two batsman in Twenty20 international rankings, on Karachi's side it proved an easy chase, despite losing three wickets from 110-2 to 124-5.