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.
|Wenger names Vieira as potential Arsenal successor|
|Simeone demands more alert Atletico to solve away day problems|
|Lance Armstrong agrees $5million settlement to federal lawsuit|
|Sixers´ Embiid upgraded to probable for game three against Heat|
|Malaga relegated from LaLiga after late defeat|
|Conte reaches 100 Chelsea games with win at Burnley|
|When I fail, I get really angry - Morata apologises for tantrum|
|Neymar names players to watch at World Cup|
|Hughes remains upbeat despite Leicester draw|
|Hull inflict more drop-goal misery on Leeds|
|Two strikers an FA Cup option for Conte´s Chelsea|
|I´m not finished, Chelsea captain Cahill insists|
|I´m going to get there - Djokovic confident of rediscovering best form|
|Pedrosa cleared to race in Austin after wrist surgery|
|Leicester City 0 Southampton 0: Saints´ survival bid suffers fresh blow|
|Burnley 1 Chelsea 2: Conte´s men boost top-four chances with FA Cup warm-up|
|Fenerbahce-Besiktas abandoned after Gunes struck by object thrown from crowd|
|Quiros´ birdie-birdie finish earns a share of Rabat lead|
|New York Giants release Brandon Marshall|
|Real Sociedad 3 Atletico Madrid 0: Barca´s title party set to start|
|Thiem ready to up level for ´ultimate challenge´ of Nadal|
|Carrick reveals depression led to England exile|
|´Who are they?!´ - Accrington milk promotion with supermarket stunt|
|Mouthwatering Nadal-Djokovic quarter-final scuppered by Thiem|
|Stunning Gayle century ends Sunrisers´ unbeaten start|
|Conte names Hazard on bench for Burnley clash|
|Rooney denies rift with Everton boss Allardyce|
|Kane will leave Tottenham unless they win trophies, predicts Souness|
|Porzingis could miss 2018-19 season, Knicks owner says|
|Portugal´s Sanches has no chance of World Cup selection - Carvalhal|
|Spurs coach Popovich to miss game three after death of wife|
|Nadal reaches 14th straight Monte Carlo quarter-final|
|Better with one arm - Julio Cesar reveals Mourinho´s Casillas jibe|
|New Hamilton deal ´agreed in principle´ for Mercedes|
|Joseph likely to miss England´s tour of South Africa|
|Mourinho has nothing to prove - Pochettino|
|Bhatti pens one-year Glasgow extension|
|I have spoken to the chairman - Allardyce upset by Everton survey|
|Kit cat: Bath player offers signed shirt for missing pet|
|Emery dismisses talk of Real Sociedad offer|
|Thiem rallies to send Djokovic packing in Monte Carlo|
|Sidibe´s Monaco season over but World Cup return possible|
|Guardiola thanks ´unique´ City staff in celebration speech|
|Wan-Bissaka signs long-term Crystal Palace extension|
|Love will be ready for game three, assures Cavs coach Lue|
|Injured Raonic withdraws from Monte Carlo, Cilic advances|
|ECB announces 100-ball format for new domestic competition|
|Bottas aiming to overthrow Hamilton and claim world title|
|Rakitic to make comeback following finger surgery|
|FIFA dismisses Brewster racism complaint from U-17 World Cup final|
|Isak could benefit from Batshuayi injury - Stoger|
|Mitchell on target again in scrappy Roosters win|
|Shaw hopes to have earned FA Cup start|
|Mercado: If I smack Messi, I can´t go back to Argentina!|
|Salah wants Golden Boot to prove Chelsea doubters wrong|
|Chelsea´s Alonso gets three-game ban for Long challenge|
|Atletico clash absolutely vital to Arsenal´s season, admits Wenger|
|CSA wants interim agreement amid negotiations with South Africa players|
|Wenger still confident Wilshere will sign new deal|
|Read and Coles doubts for New Zealand´s France series|
|Paine vows to dial down Australia sledging|
|LeBron James denies he was blindsided by question on Popovich´s wife|
|Guardiola a friend as well as a boss, says Walker|
|Heaton: Europe a realistic possibility for Burnley|
|Late charge for the Golden Boot! - Smalling jokes about goalscoring form|
|Grand slams, walk-off hits highlight Blue Jays and Red Sox wins|
|Emery unsure when PSG star Neymar will return|
|Broncos boss Bennett walks out on press conference amid Bellamy speculation|
|Chiefs, Rams to play in Mexico City on November 19|
|LeBron James helps Cavs even series, Rockets rout T-Wolves|