Centurion - Mohammad Hafeez put a poor Test series behind him when he led Pakistan to a crushing 95-run win in the second and final Twenty20 international against South Africa at SuperSport Park on Sunday.
Hafeez hammered 86 and took three wickets for 25 runs, while fast bowler Umar Gul took five for six as South Africa collapsed to 100 all out in reply to Pakistan's 195 for seven in what was a series decider after the first match in Durban was washed out.
Appointed Pakistan's captain in the shortest form of the game, Hafeez thrashed four sixes and nine fours off 50 balls.
VIDEO: SA v Pakistan, second T20, highlights
When he was on 73 he became the first Pakistani to reach 1 000 runs in T20 internationals.
His innings was in dramatic contrast to his struggles in a three-match Test series which ended last week in which he could score only 43 runs in six innings at an average of 7.16.
"I knew I was playing well in the nets but just getting good balls in the Tests," he said.
"It was disappointing but the coach (Dav Whatmore) has been working hard with me in the nets."
Hafeez said he felt criticism of the team after they were beaten 3-0 in the Test series had been premature.
"As a team we knew it was a different format and we have to come out with some good performances. The boys showed a great deal of character and wanted to do something special with the one-day internationals coming up."
South Africa and Pakistan meet in five one-day internationals, starting in Bloemfontein next Sunday.
A second wicket partnership of 83 off 48 balls with Ahmed Shehzad (46) set Pakistan on the way, but the innings lost momentum when Hafeez was out hit wicket with the total on 170 off the third ball of the 17th over.
Hafeez slipped as he went back in his crease to hit Rory Kleinveldt to the cover boundary and he dislodged his bails.
South Africa made a flying start, with AB de Villiers batting audaciously as the home side reached 48 for one in four overs.
But Gul then took four wickets in six balls, spread across two overs, as the match swung in Pakistan's favour.
Three South Africans were out first ball.
In between De Villiers was bowled by Mohammad Irfan for 36, made off 22 balls with two sixes and four fours.
"The shorter the version of the game, the more one individual can come through and win it," said South Africa captain Faf du Plessis.
"Hafeez was fantastic and put our bowlers under pressure. Umar Gul was a case of us trying to win the game by going hard to get the run rate up."