England - 258 (Stokes 100, Root 58, Gabriel 4-51, Roach 4-71) and 490 for 8 dec (Moeen 84, Root 72, Woakes 61*, Malan 61, Stokes 58, Stoneman 52)
West Indies - 427 (S Hope 147, Brathwaite 134, Anderson 5-76) and 322 for 5 (S Hope 118*, Brathwaite 95)
Result - West Indies won by 5 wickets
Leeds: West Indies produced a masterful chase to win a Test in England for the first time in 17 years with a five-wicket victory in a thrilling match.
The nerveless Shai Hope led them to their target of 322, becoming the first man to score a century in both innings of a first-class match at Headingley.
Opener Kraigg Brathwaite had earlier struck a superb 95 after being dropped by Alastair Cook on four.
Aided by Jermaine Blackwood's 41, Hope hit the winning runs to finish on 118.
Victory for the tourists - which looked unlikely at the start of day five, particularly given their heavy defeat in the first Test - ties the series at 1-1 before the decider at Lord's from 7-11 September.
In scoring the 317 further runs they required on day five, West Indies completed the 20th highest successful fourth-innings chase in Test history, and third highest in England.
West Indies were 123 away from victory at tea. With 7 wickets in hand, everyone backed them. But visitors, in the past, have resorted to different ways of self destruction, and the wicket of Kraigg Brawthwaite (95) at the stroke of tea had given an opening to England.
Nonetheless, the Hope kept English bowlers at bay with unmatched composure. He carried a serious face throughout the innings, melted the gaps and ensured to stay till the end.
Roston Chase looked impressive in his 58-ball 30, but Chris Woakes led to his departure.
Jermaine Blackwood came at No. 6. He was given full license to attack and was up for the task. He assisted Hope and remained unbeaten on _* to steer his side towards the total.
Blackwood attacked Anderson, slamming him for a huge six, and looked in a hurry. He was, time and again, calmed down by Hope who was hell bent on taking his side home. Nonetheless, he departed for 41 in an attempt to hit the winning shot.
Hope, however, deserved to smash the winning runs, and he completed formalities with 5 overs in store.