London, July 5 -- Pakistan's Cricket World Cup hopes are over.

After winning the toss and finishing on 315-9 in 50 overs on Friday, Pakistan needed to dismiss Bangladesh in their last group-stage match for an improbable seven runs or less to overtake fourth-place New Zealand and reach the semifinals.

Bangladesh reached 8-0 in the 2nd over at Lord's.

New Zealand joined Australia, India and England in the last four.

The huge score Pakistan required looked unlikely despite a 100-ball 100 from opener Imam-ul-Haq, who was out in rare fashion by hitting his own wicket two balls after reaching his maiden World Cup century.

No. 3 Babar Azam hit 96 in 98 deliveries, including 11 boundaries, four more than Imam.

Pakistan captain Sarfaraz Ahme...