AB de Villiers
De Villiers led South Africa comeback in Cape Town. Getty

A century from AB de Villiers helped South Africa secure a 3-2 victory over England in the one-day series in Cape Town.

Winning his 200th cap for the Proteas, de Villiers (101 not out) helped his side complete a turnaround with a five-wicket victory having been set a target or 237 to win. They become just the third team in ODI history to win a five-match series having lost the first two games.

England opener Alex Hales made an impressive 112 but the rest of the batting order failed to inspire. Captain Eoin Morgan edged behind for two after Jason Roy and Joe Root were trapped leg before by spinner Imran Tahir. Ben Stokes offered a respectable 29 before his departure but no other English batsman was able to register a score over 15, with Stokes among those dismissed by Kagiso Rabada.

The visitors endured a woeful collapse in all, losing seven wickets for just 81 runs and were bowled out with five overs to spare with Rabada eventually dismissing Hales, who ends the tour with a haul of 383 runs.

England's hopes of the win were boosted when the hosts were reduced to 22-3 thanks to a burst from Reece Topley, who took two wickets in two balls, Quinton de Kock and Faf du Plessis quickly departing. The partnership of de Villiers and Hashim Amla however saw South Africa easily surpass the 236 target with 36 balls to spare.