Pakistan produced the biggest shock of the tournament so far to beat South Africa by 19 runs on the DLS method in a rain disrupted game in Birmingham.

The lowest ranked team in the competition stunned the world number one side with a terrific bowling performance that saw the South African top order dismantled in sensational fashion.

A Man of the Match performance from Hasan Ali (3-24) ensured that Pakistan took control of the contest and ensured they picked up the vital win.

Chasing a modest 220 to win, Pakistan were 119-3 in the 27th over when the rain brought an end to the play for the day, this was in spite of Morne Morkel’s effort with the ball which saw him end the game on 3-18.

Thankfully for Pakistan, they’d done enough to pull off the upset, and give themselves a serious chance of making the semi finals.

Earlier in the day, South Africa had won the toss and elected to bat and in spite of a steady 40 run opening stand between Quinton de Kock and Hashim Amla their top order was torn apart.

Michael Steele/Getty Images Sport

Imad Wasim trapped Amla LBW for 16 and all rounder Mohammad Hafeez dismissed de Kock for lbw shortly after.

The removal of de Kock saw the remainder of the South African top order collapse with five wickets falling for just 58 runs.

Wasim was next on hand to remove AB de Villiers for his first ever ODI golden duck, before Ali picked up the first of his three wickets by clean bowling Faf du Plessis.

JP Duminy was next to fall to Ali for just 8 runs and Wayne Parnell fell the very next ball to leave Ali on a hat-trick, but Chris Morris was able to keep out the hat-trick ball, and along with David Millar went about salvaging the South African innings.

Junaid Khan brought the salvage job to an end by  Morris for 28 to pick up his first wicket of the tournament, leaving the South African’s reeling on 165-7 after 42.3 overs.

Kagiso Rabada and Millar then shared a crucial stand of 48, before Khan removed him for a quick-fire 26.

Michael Steele/Getty Images Sport

Miller finished up the innings with a crucial 75 not out and ensured that South Africa posted a respectable total of 219-8 from their 50 overs.

In response Pakistan were cautious in their approach knowing that the run rate wouldn’t be an issue, Morkel ensured that the chase wouldn’t be easy but Pakistan were cautious and timed their innings perfectly.

Babar Azam led the line with a patient innings of 31 not out from 51 balls, Fakhar Zaman also scored 31 and Hafeez chipped in with a crucial knock of 26.

Gareth Copley/Getty Images Sport

The win for Pakistan breathes life into Group B with India and Sri Lanka playing tomorrow regardless of the result at the Oval all four teams will have a chance of reaching the semi finals heading into the final round of group games.