Offspinner Sajid Khan ended with a match haul of 12-128 as Pakistan broke Bangladesh’s stubborn resistance to secure an innings and eight-run victory in the rain-hit second and final test on Wednesday.

Bangladesh was forced to follow-on after being wrapped up for 87 in the first innings and was bowled out for 205.

Also Read | Mitchell Starc’s first-ball wicket is fodder for a new Ashes memory

With the light gradually fading, Bangladesh’s last-wicket pair of Taijul Islam and Ebadot Hossain resisted for 34 balls to raise a hope of salvaging the test.

But Sajid broke the partnership, dismissing Taijul leg-before to help Pakistan win the game.

Sajid claimed 4-86 to follow up his opening 8-42, the fourth-best total by a Pakastani bowler in an innings.

“The team, the captain trusted me to do the job,” Sajid said. “The plan was to go for the win, and we tried to keep it tight and bowl on one spot. The entire team gets credit for their effort.”

Also Read | BCCI announces Rohit as ODI, T20I captain; name 18-man squad for SA Tests

Pakistan declared its first innings at 300-4 after only 63.2 overs were possible in the first three days because of rain and bad light. The third day was entirely washed out and only 6.2 overs were possible on Day 2.

Resuming on 76-7, Bangladesh was quickly dismissed for 87 and Babar Azam forced the follow-on.

Fast bowlers Shaheen Shah Afridi (2-31) and Hasan Ali (2-37) then got into act with the new ball, leaving Bangladesh 25-4.

But Bangladesh raised a bit hope as Mushfiqur Rahim and Liton Das combined for 73 runs in 25 overs before Sajid rattled the stump of Liton for 45.

Shakib Al Hasan joined Mushfiqur Rahim and added 49 runs before the latter was run out for 48 after trying for a risky single.

Shakib and Mehidy Hasan then frustrated the Pakistani attack and Babar came to bowl, getting the breakthrough with his offspin as Mehidy went for sweep and was trapped leg-before.

Also Read | 1st Test: Cummins notches fifer on captaincy debut as England fold for 147

A quick delivery from Sajid then broke the stump of Shakib.

Shakib was his side’s top second-inning scorer with 63, becoming only the sixth player to complete a double of 4,000 runs and 200 wickets in tests. He’s the fastest to achieve the feat, in 59 tests to eclipse the mark of England’s Ian Botham of 69.

“It was a disappointing performance, particularly our batting. There’s no excuse. We batted poorly,” Bangladesh captain Mominul Haque said. “The top four were not good. We lost seven wickets in one session on the fourth day. We are making the same mistakes again. It was tough to bat out there but Mushfiqur, Shakib and Liton tried hard.”

Also Read | Steve Smith to Joe Root: 5 players to watch out for in Ashes 2021

Pakistan won the first test by eight wickets before winning the three-match T20 series.

It was Bangladesh’s 93rd test loss in 123 matches, with 44 of them coming by an innings margin.