Chris Woakes and Jos Buttler played starring roles as England chased down 277 to win an absorbing first Test of the series against Pakistan.

The sixth-wicket pairing combined in a match-winning stand worth 139 to help Joe Root's side triumph against the odds in Manchester.

Pakistan appeared on course to prevail when they reduced their opponents from 86-1 to 117-5, while there was a further twist in a see-saw game when Buttler departed for 75 with 21 still required.

Stuart Broad also perished for seven following a promotion up the order, but the outstanding Woakes finished up on 84 not out to see England home with three wickets to spare.

The hosts had fought their way back into the contest with a clatter of wickets in the final session of the previous day's play, though still had work to do with the ball on Saturday morning.

Resuming on 137-8, Pakistan's final two wickets added 32 in just 16 deliveries, Yasir Shah increasing the lead as he smacked 33 in a hurry.

The flurry of boundaries – not all through conventional shots - hurt England, whose task became even harder when Rory Burns (10) fell early, trapped in front by the metronomic Mohammad Abbas.

Dom Sibley (36) and captain Root (42) combined to put on 64, only for a post-lunch collapse to put Pakistan firmly in control.

Sibley and Ben Stokes (9) both fell to leg-spinner Yasir Shah, Root edged behind off Naseem Shah and Ollie Pope (7) could do little with a brute of a delivery from Shaheen Afridi that climbed off a length, thumped into the batsman's glove and looped to gully.

Yet Buttler and Woakes responded to the precarious situation by going on the offensive, their attacking intent paying off as Pakistan pushed fielders back to stem the sudden flow of runs.

While Yasir Shah struck twice to create a little more tension late in the day, Woakes duly edged Shaheen to the third man boundary to get England over the line.

Top 10 hit sees England ahead

This was England’s 10th highest successful chase in Tests, a tale of overcoming problems of their own making through a positive attitude.

Having fought back from an opening loss to beat West Indies, they now have their noses in front as the teams head to the other bio-secure bubble in Southampton for the remaining two games.

All-round qualities on show

Woakes had reached double figures just once in his previous nine Test knocks coming into the game.

He took a blow on the helmet first time around in Manchester, yet showed not just his talent but also temperament to produce an innings that underlined his all-round talents.