(CNN) -- A fine all-round performance from Shahid Afridi has steered Pakistan into Sunday's World Twenty20 final, after they beat tournament favorites South Africa by seven runs at Trent Bridge, Nottingham on Thursday.
Shahid Afridi proved unstoppable with both bat and ball as he led Pakistan to the World Twenty20 final.
Pakistan captain Younus Khan won the toss and elected to bat and it was Afridi who gave their innings real impetus with a 32-ball half-century containing eight boundaries.
Afridi shared a third-wicket stand of 67 in 10 overs with Shoaib Malik (34) but the final five overs only realised 29 runs in a beatable total of 149 for four.
Then Afridi shone with the ball, dismissing Herschelle Gibbs and AB De Villiers and conceding only 16 runs in his four overs, as South Africa crashed out of the tournament after their first defeat, following five successive victories.
Jacques Kallis made a half-century off 46 deliveries with seven fours for South Africa but they gradually fell behind the required run-rate and his dismissal for 64 in the 18th over ended their already fading hopes.
South Africa eventually finished their innings on 142 for five to continue their miserable recent record of failing to deliver at the crucial stages in major tournaments. It is the fourth time they have gone out at the semifinal stage of a major competition.
Pakistan will now play the winners of the second semifinal between Sri Lanka and West Indies in Sunday's final at Lord's and will be looking to go one better than in 2007 when they lost the final to neighbors and rivals India in South Africa.