Ben Stokes smashed a blistering century and Mark Wood bowled an excellent final over as England beat South Africa by two runs in the second One-Day International here Saturday for an unassailable 2-0 lead in the three-match series. After Stokes's heroics with the bat had helped England score 330 for six in its 50 overs, South Africa needed 10 runs from the last 10 balls of its innings with five wickets remaining, but an excellent final over from Wood that cost just four runs sealed victory. One worry for England ahead of the looming Champions Trophy starting Friday is that Stokes managed to bowl only three overs in the South African innings having injured his knee in the first ODI win, but he remained on the field. "Those are the sorts of games you really want to win," England captain Eoin Morgan said at the post-match presentation at the Rose Bowl. "You learn a lot more. The game got away from us quite a lot. Woody was awesome." The visitors won the toss and elected to field, reducing England to 80 for three in the 16th over when Joe Root (39) was run out at the non-strikers' end. But Stokes (101 from 79 balls) put on 95 for the fourth wicket with Morgan (45) and 77 for the fifth with Jos Buttler (65 not out) before he became a maiden ODI wicket on debut for South African left-arm spinner Keshav Maharaj. Opener Quinton de Kock (98 from 103 balls) led the South African reply before he was caught by wicketkeeper Buttler off Moeen Ali. Captain AB de Villiers pitched in with a fluent 52, but the innings looked to be faltering until Chris Morris (36 not out from 22 balls) joined David Miller (71 not out from 51 balls) in the 44th over. The pair added 62 in 39 balls for the sixth wicket and looked as though they had won the game when they needed seven off the final over bowled by Wood (0-48 in 10 overs). But the England seamer produced an excellent over of short-pitched slower balls and the pair could only manage four singles to see victory slip away. "I can't be unhappy, we fought right to the end and probably had it in the bag for most of that last half hour," De Villiers said. Scoreboard England Jason Roy b Rabada 08 Alex Hales c de Kock b Pretorius 24 Joe Root run out 39 Eoin Morgan c de Kock b Rabada 45 Ben Stokes c Miller b Maharaj 101 Jos Buttler not out 65 Moeen Ali c de Kock b Phehlukwayo 33 Extras: (1b, 6lb, 8w) 15 Total: (6 wickets, 50 overs) 330 Falls: 1-12, 2-70, 3-80, 4-175, 5-252, 6-330 Did not bat: Adil Rashid, Liam Plunkett, Mark Wood, Jake Ball. Bowling: Kagiso Rabada 10-0-50-2 (4w), Chris Morris 10-0-66-0 (2w), Dwaine Pretorius 10-0-61-1, Keshav Maharaj 10-0-72-1, Andile Phehlukwayo 10-1-74-1 (2w). South Africa Quinton de Kock c Buttler b Ali 98 Hashim Amla c Morgan b Stokes 24 Faf du Plessis c Buttler b Plunkett 16 AB de Villiers c Buttler b Plunkett 52 David Miller not out 71 Farhaan Behardien c Ali b Plunkett 17 Chris Morris not out 36 Extras: (5lb, 9w) 14 Total: (5 wickets, 50 overs) 328 Falls: 1-56, 2-93, 3-189, 4-211, 5-266. Did not bat: Dwaine Pretorius, Kagiso Rabada, Andile Phehlukwayo, Keshav Maharaj. Bowling: Mark Wood 10-0-48-0 (1w), Jake Ball 10-0-81-0 (2w), Ben Stokes 3-0-12-1 (2w), Liam Plunkett 10-0-64-3 (3w), Adid Rashid 6-0-41-0 (1w), Moeen Ali 8-0-59-1, Joe Root 3-0-18-0.