England's Jason Roy hit a superb century and Ben Stokes carried them home as they beat Pakistan by three wickets at Trent Bridge on Friday, surviving a middle-order wobble to take an unassailable 3-0 lead in the series. Babar Azam's century helped Pakistan reach a respectable 340-7 in their 50 overs, yet once again a decent total proved inadequate for the tourists as England wrapped up victory after a tense finale with three balls to spare. Having hunted down a 359-run target with ease in Bristol in the third ODI, England steadily chipped away at Pakistan's total with Roy leading the charge, bringing up his eighth ODI century in 75 balls. At that point, the hosts looked set for another routine win on a ground where they had twice scored more than 400 in the last three years. Yet when Roy departed for 114 with England on 201-2 their momentum ground to a halt as they lost three further wickets for another 15 runs with Jos Buttler and Moeen Ali departing for ducks. Stokes rode to the rescue, however, smacking 71 not out off 64 balls, assisted by Tom Curran's 31. England, who will head into the World Cup as favorites on home soil later this month, lead 3-0 heading into the fifth and final ODI in Leeds on Sunday. Scoreboard Pakistan Imam ul-Haq Not Out 6 Fakhar Zaman c Wood b Curran 57 Babar Azam c Archer b Curran 115 M. Hafeez c (Sub) b Wood 59 Shoaib Malik Hit Wicket b Wood 41 Asif Ali c Wood b Archer 17 Imad Wasim b Curran 12 Sarfaraz Ahmed Not Out 21 Hasan Ali c Denly b Curran 1 Extras: (0b 4lb 0nb 0pen 7w) 11 Total: (50.0 overs) 340-7 Fall of Wickets: 1-116 Zaman, 2-220 Hafeez, 3-249 Azam, 4-280 Ali, 5-298 Wasim, 6-316 Malik, 7-319 Ali Did Not Bat: Khan, Hasnain Bowling: Archer 10-0-62-1; Wood 10-0-71-2; Denly 5-0-27-0; Curran 10-0-75-4; Rashid 7-0-49-0; Stokes 4-0-22-0; Ali 4-0-30-0. England Jason Roy c Sarfaraz b Hasnain 114 James Vince b Hasnain 43 Joe Root c Hafeez b Wasim 36 Ben Stokes Not Out 71 Jos Buttler c Hasnain b Wasim 0 Moeen Ali c Zaman b Malik 0 Joe Denly c&b Junaid 17 Tom Curran b Hasan Ali 31 Adil Rashid Not Out 12 Extras: (0b 5lb 0nb 0pen 12w) 17 Total: (49.3 overs) 341-7 Fall of Wickets: 1-94 Vince, 2-201 Roy, 3-208 Root, 4-208 Buttler, 5-216 Ali, 6-258 Denly, 7-319 Curran Did Not Bat: Wood, Archer Bowling: Junaid 10-0-85-1; Hasan Ali 9.3-0-57-1; Wasim 10-0-62-2; Hasnain 10-0-80-2; Hafeez 8-0-48-0; Malik 2-0-4-1. — Reuters