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.
|Cardinals´ Fitzgerald says Sunday may be final home game|
|Solskjaer to United: Bayern mute Champions League Twitter to avoid 1999 footage|
|I have a future without Manchester United - Mourinho moving on from Old Trafford exit|
|Solskjaer to United: Unlikely second chance after Cardiff calamity|
|Solskjaer to United: ´Ultimate super-sub´ understands our support, say fans|
|Jones and Humphreys to assist incoming Wales head coach Pivac|
|I have nothing to say - Mourinho muted on Manchester United exit|
|Gallen defiant amid Sharks crisis|
|Solskjaer to United: Cardiff stint not relevant to Old Trafford challenge, says Berg|
|Manchester United´s on-field results must improve to maintain commercial strength - sports finance e|
|Rashid and Carey inspire winning start for Strikers|
|Solskjaer to United: Phelan to continue Mariners role during coaching stint|
|Malone: Jokic an MVP contender|
|Solskjaer to United: Returning heroes - the hits and misses|
|Solskjaer to United: Ole´s best moments for United|
|Solskjaer to United: Club writing off two seasons with interim appointment - Fletcher|
|Allen´s LeBron block made statement - Atkinson|
|Solskjaer to United: Molde give blessing for their manager to take job on temporary basis|
|Dragons land Eels playmaker Norman|
|Black Caps tried everything - Williamson|
|Solskjaer to United: Red Devils´ interim boss in numbers|
|Solskjaer to United: Other Ferguson pupils who became teachers|
|Manchester United appoint Solskjaer until end of season|
|Kane a doubt for north London derby|
|Mourinho sacking changes things – Tuchel|
|Nets top Lakers in Brooklyn, extend winning streak to six games|
|LeBron on Lakers potentially acquiring Davis: That would be amazing|
|Rain helps Sri Lanka claim draw against New Zealand|
|Mourinho had to ´take the consequences´, says Klopp|
|Ausilio: Icardi has offer on table, won´t be sold to Juve|
|Chargers lead NFL Pro Bowl selections, Brees named NFC starting QB|
|Pro Bowl 2019: Chargers lead NFL with 7 selections, Drew Brees named NFC starting QB|
|Savea re-signs with All Blacks, Hurricanes|
|Flanagan facing de-registration as Sharks, Tigers cop huge fines|
|Napoli rejected £95m offer for Koulibaly amid United links – De Laurentiis|
|Kovac feels for axed United boss Mourinho|
|Rabiot, we do not need you – PSG fans respond to wantaway midfielder|
|Guardiola hails assured debut from Man City youngster Garcia|
|He´s very happy at Tottenham – Arsenal boss Emery wants Pochettino to reject Manchester United|
|Rams sign RB C.J. Anderson|
|Good luck with the Red Devils - Norway PM´s message for Solskjaer|
|Pogba was ´dancing on the grave´ of Mourinho - Neville|
|Solskjaer set to replace Mourinho after Man United gaffe|
|City signing Steffen up to Guardiola´s goalkeeper demands, says Berhalter|
|Mourinho is so strong - Guardiola backing for fallen rival|
|Mourinho? Ausilio dismisses Inter return after United sacking|
|Whyte needs to raise his game to beat Chisora again - Haye|
|Brussino leads late Tenerife rally as Venezia down Holon|
|Orleans 1 Paris Saint-Germain 2: Super sub Diaby sends holders through|
|Leicester City 1 Manchester City 1 (1-3 on penalties): Muric stands tall in poor shoot-out|
|Middlesbrough 0 Burton Albion 1: League One side reach semi-finals|
|Bologna 0 AC Milan 0: Bakayoko sent off as Inzaghi claims point against former side|
|Fortuna Dusseldorf 2 Borussia Dortmund 1: Bundesliga leaders suffer shock first loss|
|Rivera yet to make a call on sitting Panthers QB Newton|
|Pulisic would thrive in Premier League, but Berhalter expects Dortmund stay|
|Raptors coach Nurse fined by NBA for criticising referees|
|Solari ´loves´ struggling Real Madrid star Isco|
|Mourinho sacked: Pogba, Lukaku, Fred and his other Man United signings rated|
|Mourinho sacked: What does it mean for Manchester United players?|
|Ibrahimovic provides short-term pain, long-term gain for US - Berhalter|
|River Plate 2 Al Ain 2 (aet, 4-5 on penalties): Perez misses decisive spot kick|
|De Bruyne and Aguero back for City, surprise debut for Garcia|
|Uncapped Varun ´panicked a little´ after huge IPL deal|
|Replays scrapped for FA Cup fifth round|
|Pochettino readies big guns for Gunners|
|Ex-Wasps star Wade struggling with NFL transition|
|BCCI rejects ´baseless´ claims over Kohli-Paine ´banter´|
|Ibrahimovic re-signs with LA Galaxy for 2019|
|Mourinho sacked: Solari not worried for Real Madrid job|
|Mourinho sacked: 895 days and more than £700,000 in five-star luxury|