| Afridi, who had taken five for 23 in the first innings, also hit 24 not out to steer Pakistan over the line [AFP]
Shahid Afridi grabbed five wickets for 23 runs and then kept his cool in a batting crisis as Pakistan overcame Bangladesh by five wickets in the first one-dayer in Dhaka on Thursday.
The leg-spinner ripped through the Bangladesh line-up as the hosts were bundled out for 91 after electing to bat at the Sher-e-Bangla stadium - with seven batsmen failing to reach double figures.
Pakistan lost five wickets chasing the modest target which was eventually overhauled in the 26th over to give the tourists the lead in the three-match series.
Seamer Rubel Hossain and spinner Shakib Al Hasan claimed two wickets apiece to leave Pakistan struggling at 63-5, before Afridi took his team home with an unbeaten 24 off 23 balls.
As the runs dried up on the turning wicket, Afridi broke free with three successive fours off Shakib and then cut the same bowler for another boundary to win the game.
Skipper Misbah-ul-Haq made 16 not out, sharing a match-winning stand of 30 with Afridi.
It was Pakistan's 26th win in 27 one-dayers against Bangladesh, the lone defeat having come during the 1999 World Cup in England.
T Iqbal lbw b Hafeez 0
S Nafees c Malik b Afridi 7
N Islam c Misbah b Gul 5
M Rahim c Sarfraz b Malik 11
S Al Hasan c Akmal b Afridi 15
M Mahmudullah c Sarfraz b Afridi 1
N Hossain c Sarfraz b Cheema 21
F Reza lbw b Afridi 1
A Razzak c Younis b Ajmal 3
S Islam c Sarfraz b Afridi 0
Rl Hossain not out 15
Total (all out, 30.3 overs) 91
Fall of wickets: 1-0 (Tamim), 2-6 (Naeem), 3-29 (Mushfiqur), 4-29 (Nafees), 5-31 (Mahmudullah), 6-67 (Nasir), 7-71 (Shakib), 8-74 (Razzak), 9-74 (Reza), 10-91 (Shafiul)
M Hafeez c Nafees b Rubel 22
I Farhat b Nasir 12
Y Khan c Rahim b Shakib 2
S Ahmed c Shakib b Rubel 2
M-ul-Haq not out 16
U Akmal b Shakib 7
S Afridi not out 24
Total (for five wickets, 25.4 overs) 93
Fall of wickets: 1-36 (Farhat), 2-42 (Hafeez), 3-42 (Younis), 4-44
(Sarfraz), 5-63 (Akmal).
Afridi, who was the obvious choice for the man of the match, said he wanted to do well every time he took the field.
"I want to be consistent, that's the most important thing," the 31-year-old said.
"This time I tried to bring a lot more variations in my bowling and that worked.
"When I went out to bat, the coach told me to play my normal attacking game."
Misbah admitted he was worried when five wickets went down.
"It really looked tough at one stage, but Afridi won us the game," the relieved Pakistan skipper said.
"The spinners got a lot of help, the ball turned and bounced.
"But I am disappointed the way some of our batsmen batted. They got starts, but did not carry on. It's a problem we have to work on."
Bangladesh, who lost half the side for 31 runs, were dismissed in 30.3 overs and barely managed to surpass their lowest one-day total against Pakistan of 87.
Bangladesh's batting never recovered after losing aggressive opener Tamim Iqbal with the fourth ball of the innings, trapped leg-before by off-spinner Mohammad Hafeez.
Nasir Hossain (21) and Shakib put on 36 for the sixth wicket to ensure Bangladesh did not fall below their lowest total of 58 - against the West Indies at the same venue during the World Cup in March.
Bangladesh captain Mushfiqur Rahim said he was disappointed his team was bowled out for just 91.
"It looked a good track to bat on, but we lost a couple of early wickets," he said.
"Credit goes to the Pakistan bowlers, but we need to work on our batting at the top of the order.
"Hopefully it will all come together in the next match."
The second one-dayer will be played at the same venue on Saturday.