Sydney--Pakistan and the West Indies secured the two remaining places in the World Cup quarter-finals on Sunday after coming through must-win matches in the last of the tournament's group games.
Pakistan, the 1992 champions, beat Ireland by seven wickets in a winner-takes-all clash in Adelaide.
Earlier in Pool B, the West Indies saw off the United Arab Emirates by six wickets in Napier.
West Indies' win saw the 1975 and 1979 champions edge out Ireland for a last-eight place on net run-rate.
The quarter-finals begin with Sri Lanka's match against South Africa in Sydney on Wednesday, while defending champions India face Bangladesh in Melbourne on Thursday.
Australia take on Pakistan in Adelaide on Friday and fellow tournament co-hosts New Zealand play the West Indies in Wellington on Saturday.
The Ireland-Pakistan match took place almost eight years to the day since the Irish knocked the Asian giants out of the 2007 World Cup.
That defeat for Pakistan in Jamaica was followed the day after by the death of coach Bob Woolmer.
There was no repeat of Ireland's celebrated victory as Pakistan posted their fourth straight win of this World Cup, including a victory over highly-fancied South Africa, after starting the tournament with two straight losses.
Sarfraz Ahmed scored his maiden one-day international hundred and Pakistan's first of the tournament as they made 241 for three, chasing 238 to win, with 23 balls to spare.
- Pakistan confidence -
"This was a pressure game," said buoyant Pakistan captain Misbah-ul-Haq.
"Of course we can win the World Cup. We have the momentum. The bowling is doing really well, the batting is beginning to do its part."
Pakistan dismissed Ireland for just 237 despite a century from Irish captain William Porterfield, who won the toss.
The opener's 107 followed Ed Joyce's 112 against Zimbabwe as the second Ireland hundred of this tournament.
Ireland, who had already beaten two Test nations at this tournament in the West Indies and Zimbabwe, found runs hard to come by with Pakistan's bowling at the 'death' especially impressive.
Porterfield apart, only Gary Wilson (29) got past 20 as left-arm paceman Wahab Riaz took three for 54.
"We were a few runs light," said Porterfield. "The confidence has been high throughout. I hope we get more games, and progress from there."
Opener and wicket-keeper Sarfraz, who marked his tournament debut with 49 against South Africa, was again in fine form with the bat.
His hundred, his first in 38 ODIs, came off 120 balls including six fours.
It was the seventh century by a wicket-keeper at this World Cup and the first by a Pakistan gloveman at any edition of the tournament.
However, there were farcical scenes towards the end of the match when, with Pakistan a handful of runs away from victory, Umar Akmal blocked ball after ball to allow Sarfraz to get to his century.
AFP