Rohit Sharma inspired India to a victory over South Africa and a series win that ensures they will leapfrog the Proteas and go top of the one-day rankings.
India had already clinched at least a share of the six-match series as they went into the penultimate ODI in Port Elizabeth holding a 3-1 lead, and they duly continued their dominance in a 73-run win.
Having been put into bat India owed a debt of gratitude to Rohit for pushing them to 274-7 with 115 off 126.
Hashim Amla (71) and Heinrich Klaasen (39) gave the Proteas hope, but the run out of the former proved a key moment in the game and when Klaasen fell to the excellent Kuldeep Yadav the writing was on the wall.
India will now look to finish with a flourish in the series finale in Centurion on Friday.
BREAKING: India will finish the #SAvIND ODI series as the number one side in the @MRFWorldwide ICC ODI Rankings after taking a 4-1 series lead with victory in Port Elizabeth!https://t.co/1oA76LNlyI pic.twitter.com/xNpiqW6kFC— ICC (@ICC) February 13, 2018
Shikhar Dhawan got India's innings off to a quick start as he struck 34 off 23 balls in his opening partnership of 48 with Rohit, striking eight fours before he pulled Kagiso Rabada to deep square leg.
Rohit duly picked up where Dhawan had left off, contributing 62 off only 55 deliveries in a second-wicket stand of 105 with Virat Kohli, who was on 36 when he was run out by JP Duminy.
Kohli's dismissal came as a result of Rohit refusing to run and Ajinkya Rahane (8) went in similar fashion as India's centurion was caught ball-watching.
But Rohit, dropped on 96 by Tabraiz Shamsi, made up for those mental errors as he brought up his first hundred in South Africa with a flick past backward square leg.
Rohit eventually fell to Lundi Ngidi (4-51), who had Hardik Pandya for a duck next ball, but Bhuvneshwar Kumar (19 off 20) helped push India to a total that proved well beyond South Africa.
Aiden Markram went for a run-a-ball 32 as he combined for 52 opening runs with Amla, who found little in the way of support as Duminy (1) and AB de Villiers (6) both failed.
Amla, who hit just five boundaries in a workmanlike 92-ball stay, looked to have found a match-winning partner in Klaasen, but an extremely tight direct hit run out review went against him and sparked a Proteas collapse.
Kuldeep then removed Andile Phehlukwayo and Rabada and all hope went when the same bowler had Klaasen stumped as India dethroned South Africa as the top team in the 50-over game.
|Solskjaer: Lukaku is big part of Man United squad|
|Napoli slam FIGC decision to reject Koulibaly appeal|
|We´re the hunters! - Kovac´s Bayern ready to chase down Dortmund|
|Chiefs safety Reid expected to play against Patriots|
|Chelsea not ready to rest Jorginho - Sarri|
|NFL receiver Fitzgerald has hole-in-one in round of golf with former president Obama|
|I´m really loving playing this game - Eagles QB Foles not ready to retire|
|Saints show no mercy, score 111 in rout of Timisoara Saracens|
|CAF Champions League Review: Khenissi double gets ES Tunis up and running|
|Edinburgh clinch home quarter-final, Glasgow also advance to last eight|
|Hazlewood to miss Sri Lanka Tests with back injury|
|Norwich City 3 Birmingham City 1: Canaries end winless run to go second|
|Hoffenheim 1 Bayern Munich 3: Goretzka goals close gap on Bundesliga´s return|
|Cowboys part ways with offensive coordinator Linehan|
|Payton´s message to Saints fans: Hurry up and make noise|
|Transfer talk no distraction for Inter, says Spalletti|
|Memories of 2015 still linger for Vunipola as England begin World Cup year|
|De Bruin´s 85th-minute try consigns Kings to eighth straight loss|
|Bielsa´s Derby County dossier detail ´pretty standard´ – OptaPro chief|
|Injury-hit Madrid lose Navas to adductor issue|
|Patriots coach Belichick still gets nervous ´every week´|
|Copa del Rey draw: Barcelona to meet Sevilla in quarter-finals|
|Kohli: No one more committed to India than Dhoni|
|Brook questions Khan credibility following Crawford agreement|
|Sad Pochettino admits Bielsa is ´wrong´|
|Simeone eyes LaLiga gain after Atletico´s Copa del Rey pain|
|Rossi a no-go for Tottenham as Pochettino rules out panic buys|
|Guardiola identifies ´three or four´ midfield targets|
|Nadal encourages patience in young stars after humbling De Minaur|
|NFL playoffs 2019: 10 Opta facts for Patriots v Chiefs|
|Robertson helping Klopp learn Scottish for Dalglish chats|
|Levante appeal over alleged ineligible Barcelona player rejected|
|NFL Playoffs 2019: 10 Opta facts for Rams v Saints|
|Lowry to take three-shot Abu Dhabi lead into final round|
|Training is not for anyone else - Klopp condemns Bielsa over ´spygate´ row|
|In other countries, everybody does it - Guardiola respect remains for spying Bielsa|
|Cilic battles back to join Nadal, Federer in fourth round|
|Klopp: Trent unbelievable for playing through pain|
|Faulkner provides super start and fabulous finish to sink Scorchers|
|Ref admits error in key foul call on Lonzo Ball in Lakers-Thunder game|
|Marina Granovskaia is working very hard – Sarri ´confident´ of January signings|
|Tuchel confirms Rabiot out of PSG contention|
|Madrid derby kick-off confirmed for February 9|
|Benzema fit to face Sevilla despite broken finger, Solari confirms|
|Bournemouth boss Howe says no offers received for Wilson|
|Kerber cruises after Wozniacki, Sabalenka upsets|
|Mbappe a great player and great person, says beaming Beckham|
|Gracia confident someone will step up if Doucoure leaves for PSG|
|Albrighton signs new Leicester deal|
|Niasse joins Cardiff on loan from Everton|
|Hendrick credited with Fulham strike|
|Western Sydney Wanderers 1 Adelaide United 2: Goodwin compounds Wanderers woes|
|Chahal and Dhoni carry India to ODI triumph|
|Levante report Barcelona for alleged use of ineligible player in Copa del Rey|
|Solskjaer regrets Sanchez´s Reading setback|
|Tomic brands Hewitt a ´liar´ as feud continues|
|Ruthless Nadal thrashes teenager De Minaur|
|Wozniacki enjoyed status as defending champion in Melbourne|
|Solskjaer backs Mourinho to return to football´s big time|
|Murray to miss Open 13 Marseille|
|Solskjaer´s United turnaround no easy task, says Hughton|
|The big Friday Premier League quiz|
|How James Harden´s 2018-19 numbers compare to his MVP campaign|
|It´s insane! - Tsitsipas excited to face ´legend´ Federer|
|Sharapova ends Wozniacki title defence|
|American teen Anisimova sends records tumbling at Aus Open|
|Lakers survive Ball´s gaffe to beat Thunder in OT|
|Federer expects ´athletic´ and ´attacking´ Tsitsipas clash|
|Alcacer is fit and available – Favre|
|Fantastic Federer breezes past Fritz|