Yashasvi Jaiswal scored his maiden ODI century as India thrashed South Africa by nine wickets in the series-deciding third ODI at Visakhapatnam on Saturday, sealing the three-match series 2-1.

Chasing 271, India raced to 271 for 1 in under 40 overs, with Jaiswal unbeaten on 116 off 121 balls. It was a commanding comeback with the white ball after India had been swept aside 0-2 in the Test series.

South Africa, asked to bat first after India captain KL Rahul won the toss — ending a run of 20 consecutive toss defeats — were bowled out for 270. Quinton de Kock made 106 and Temba Bavuma 48, but Kuldeep Yadav (4 for 41) and Prasidh Krishna (4 for 66) took four wickets apiece to keep breaking partnerships, PTI reported.

India South Africa 3rd ODI: how the chase unfolded

Jaiswal and Rohit Sharma made a cautious start before taking control. Rohit raced to his fifty off 54 balls, and the pair put on 155 for the opening wicket. Rohit struck seven fours and three sixes in his 75 off 73 balls before falling to Keshav Maharaj, caught by Matthew Breetzke off an attempted sweep.

Jaiswal reached his fifty off 75 balls, then changed gears. He brought up his first ODI century off 111 balls, with 10 fours and a six, and in doing so became the sixth Indian to score a century in all three international formats.

Virat Kohli then stole the show at the other end, smashing his fifty off 40 balls, including a no-look six off Corbin Bosch, and finishing unbeaten on 65 off 45 balls. Jaiswal and Kohli, who had both scored centuries in the first two ODIs, shared an unbroken 116-run stand for the second wicket to finish the job.

Kohli was named Player of the Series after finishing with 301 runs in the series, including two centuries and a fifty. Jaiswal was named Player of the Match for his maiden hundred, The Times of India reported.

Also read: India Defend 209 to Beat New Zealand by 22 Runs and Win ODI Series 3-1