(CNN) -- England remain in the world Twenty20 competition after coming back from their humiliating loss to the Netherlands on Friday to beat Pakistan by 48 runs at The Oval on Sunday.
Kevin Pietersen scored a superb 58 as England beat Pakistan to remain in the world Twenty20.
The hosts knew another defeat would send them crashing out after just one weekend of action.
However, they were always in control after posting a healthy score of 185-5, thanks to a superb knock from former captain Kevin Pietersen.
Pietersen had missed Friday's Dutch disaster after failing a late fitness test on a long-standing Achilles injury.
However, he was back at the crease for Sunday's match and responded with a sparkling 58 -- only his second half-century in the format. Pietersen's knock came off just 38 balls and included five fours and three sixes.
In reply, Pakistan never got going and lost wickets at regular intervals. Only captain Younus Khan, with an unbeaten 46, offered some hope but some tight England bowling ensured they made only a paltry 137-7 in reply.
Meanwhile, Scotland bowed out of the tournament with the second-lowest score in the event's history as South Africa lived up to their billing as one of the favorites with a thumping 130-run success.
Needing victory to avoid an early exit from the competition following their defeat to New Zealand, Scotland were unlikely to cause a shock from the moment South Africa powered to a daunting 211 for five after being put in to bat.
But the real gulf in class was exposed when Scotland began their reply and were dismissed for just 81 in only 15.4 overs, a total which was only marginally better than the worst-ever score in this event -- the 73 recorded by Kenya against New Zealand in Durban two years ago.
It was also the seventh worst total in Twenty20 history despite Kyle Coetzer hitting a determined 42 off 32 balls before becoming the first of four wickets to fall in a 10-ball spell to end their innings.
South Africa's total, their highest in this format, was achieved by a stunning display of hitting towards the end of their innings by AB de Villiers which helped them add 83 runs from the final five overs.
Teaming up with Albie Morkel after off-spinner Majid Haq and left-arm spinner Glenn Rogers had halted South Africa's earlier run spree, the pair hammered 51 off 19 balls to end any hopes of Scotland limiting them to a modest total.
Openers Graeme Smith and Jacques Kallis, who was dropped by Scotland captain Gavin Hamilton at extra cover on 43, had given South Africa a solid start with an 87-run stand.