Manish Pandey struck his maiden one-day century in a high-scoring thriller to secure India a pride-salvaging six-wicket victory against Australia in the fifth and final ODI in Sydney on Saturday.
Staring at a series whitewash after four defeats, India rode Pandey's scintillating 104 off 81 balls to chase down a 331-run victory target with two balls to spare.
Centuries from David Warner (122) and Mitchell Marsh (102) helped Australia post 330-7 but Pandey's knock in his only fourth one-dayer clinched the contest for India.
India needed a strong start from their openers to stay on course to chase down such a big total and the visitors got just that from Shikhar Dhawan (78) and Rohit Sharma (99).
Dhawan posted his third successive 50-plus score and Rohit fell agonisingly short of his third century in the series as they raised 123 runs in 18.2 overs.
John Hastings dismissed Dhawan and Virat Kohli (eight) in quick succession to halt India's progress and Rohit left leaving India needing exactly 100 runs from 91 balls to win the contest.
With the required run-rate skyrocketing and skipper Mahendra Singh Dhoni (34) struggling to time the ball at the other end, Pandey's crisp hitting left India needing 13 runs off the last over from Marsh.
Marsh began with a wide and had his next hit out of the ground by Dhoni but the Indian captain fell immediately to inject fresh drama in the contest.
Pandey, however, was unfazed and he hit the next ball for a boundary to first complete his century and then scurried for two for the winning run.
Earlier, Warner struck his fifth ODI century and Mitchell Marsh notched up his first to set up yet another runfest in a series that has provided 3,159 runs.
India's much-maligned bowlers did well to reduce Australia to 117-4 in the 22nd over before Warner and Marsh combined to add 118 runs in 17.3 overs.
Warner had fallen seven runs short of a century in Wednesday's fourth ODI at Canberra but there was no such heartbreak this time as the southpaw brought up his run-a-ball century.
The 27-year-old opener was eventually dismissed for 122, that included thee sixes and nine boundaries, but Marsh carried on to remain not out on 102 off 84 balls.
For India, Jasprit Bumrah made an impressive debut, the right-arm paceman with an unorthodox bowling action sending down 10 tidy overs to claim 2-40 with some tight death bowling.
Pandey was adjudged man-of-the-match, while team mate Rohit won the man-of-the-series award for the 441 runs he amassed in five matches.
India pulled one back in the series to beat Australia by six wickets and two balls to spare.
Australia won the series 4-1.
Chasing a target of 331, India rode on brilliant knocks by Dhawan (78), Rohit Sharma (99) and a composed unbeaten 104 off 81 balls from Pandey.
With two needed off three balls and field closing in, Pandey kept his nerve to loft Marsh over the fielders for the winning hit.
Pandey edges Marsh past Wade for a boundary to complete his century.
Dhoni perishes with Warner taking a skier. India need 6 off 4 balls. Ind 325-4, 49.2 overs.
MS Dhoni c Warner b Mitchell Marsh 34 (42b 1x4 1x6)
Dhoni slams Marsh for a six after the first ball is adjudged a wide.
India need 13 off the last over bowled by Marsh with Pandey on 98.
Big over for India with Pandey and Dhoni hammering boundaries off Marsh. Ind 309-3, 48 overs.
India need 40 off 24 balls.
The 50 partnership between Pandey and Dhoni has come up in 37 balls. Ind 285-3, 45 overs.
Dhoni and India get a lifeline as Lyon drops a skier.
India need 77 off the last 10 overs with Pandey and Dhoni in the middle. Ind 254-3, 40 overs.
Pandey leaps to cut a rising ball from Hastings to the point boundary. Ind 252-3, 39 overs.
Pandey completes his half century off 38 balls. Ind 242-3, 37 overs.
Hastings has taken another big wicket denying Rohit a century as the batsman nudged at a delivery outside off with the umpire raising his finger after some deliberation. Ind 232-3, 34.5 overs.
Rohit Sharma c Wade b Hastings 99 (108b 9x4 1x6)
Rohit Sharma completes 5,000 ODI career runs and is dropped on 92 by Shaun Marsh. Ind 225-2, 33 overs.
Pandey gets going sending Lyon sailing over the cover boundary for a towering six. Ind 220-2, 33 overs.
Rohit gets a boundary with a crunching drive off Faulkner. Ind 192-2, 30 overs.
Smith comes into the attack and Pandey swings him around for a boundary. Ind 183-2, 29 overs.
Pandey gets his first boundary by sweeping Lyon. Ind 159-2, 25 overs.
Rohit breaks the shackles by launching Boland into the crowd at long-on for his first six. Ind 152-2, 24 overs.
Rohit is more circumspect after the departure of Dhawan and Kohli completing his 50 with a single. Ind 145-2, 23 overs.
Hastings strikes getting the prized wicket of Kohli who flashes at a wide delivery to give a faint nick behind. Ind 134-2m 20.2 overs.
Virat Kohli c Wade b Hastings 8 (11b 1x4)
Kohli gets into his stride by driving Mitchell Marsh through the covers for a boundary and passes 1,000 ODI runs against Australia with a couple. Ind
Shaun Marsh takes a brilliant running back from point to send back Dhawan who slices Hastings after having jabbed a bouncer to third man the previous ball. Ind 123-1, 18.2 overs.
Shikhar Dhawan c Shaun Marsh b Hastings 78 (56b 7x4 3x6)
Dhawan is in imperious touch opening the face of the bat to guide a bouncer from Marsh to the third man fence. Aus 119-0, 18 overs.
Dhawan races to his half century off 42 by sweeping Lyon over midwicket for his third six. Ind 88-0, 13 overs.
Marsh comes into the attacks and Dhawan greets him by banging him over midwicket for his second six followed by a classic drive down the ground for a boundary. Ind 64-0, 9 overs.
Rohit slams two consecutive boundaries off Boland with sublime timing through midwicket while Dhawan just manages to clear the fielder on the boundary. Ind 52-0, 8 overs.
Dhawan launches into Hastings to land the ball into the second tier with a massive swing over midwicket and lofting a boundary over cover. Ind 39-0, 7 overs.
Dhawan breaks the shackles by dancing down the pitch and driving Boland through the off side for a boundary.
Rohit punches Hastings through point for the first boundary of the innings as India make a cautious start chasing a target of 331. Ind 20-0, 5 overs.
Australia powered by centuries from David Warner (122) and Mitchell Marsh (102 not out) recovered to make 330-7 after being put into bat.
Marsh completes his maiden ODI century off 81 balls after a few anxious moments by clipping Sharma to midwicket for a couple.
Bumrah knocks out the off stump of Faulkner. Aus 323-7, 48.1 overs.
James Faulkner b Bumrah 1 (3)
Wade gets into the act swinging Yadav over backward square leg for a six before perishing next ball caught behind. Aus 320-6, 47.3 overs.
Mathew Wade c Dhoni b Yadav 36 (27b 2x4 1x6)
Marsh is nearing a maiden ODI century having clubbed boundaries off Dhawan and Sharma. Aus 313-5, 47 overs.
Marsh sizzles by whacking Bumrah for a flat six over midwicket. Aus 292-5, 45 overs.
Wade gets going pulling Dhawan to the long-on fence.
Jadeja completes his spell returning figures of 10-0-46-0. Aus 270-5, 43 overew.
Marsh cracks a couple of boundaries off Yadav as Australia get ready to attack in the final 10 overs. Aus 249-5, 40 overs.
Warner's magnificent innings comes to an end being scooped at backward point. Aus 235-5, 38.5 overs.
David Warner c Jadeja b Ishant Sharma 122 (113b 9x4 3x6)
Marsh completes his half century contributing evenly to the century partnership with Warner. Aus 229-4, 38 overs.
Warner is in red-hot form slamming a boundary as play resumed after a drinks break and then whacks Ishant for a straight six. Aus 225-4, 37 overs.
Warner is over the moon after slamming his maiden century on his home ground in Sydney. Aus 211-4, 36 overs.
Marsh is turning it on launching Yadav into the stands at midwicket for a massive six followed by a boundary. Aus 197-4, 32 overs.
Mitchell Marsh gets going by sweeping Gurkeerat for a boundary while Warner does even better hoisting him into the second tier over midwicket. Aus 134-4, 24 overs.
India strike with a brilliant piece of fielding as Marsh fails to beat the throw as Warner dashes for a single. Aus 116-4, 21.2 overs.
Shaun Marsh run out 7 (14b)
Spin introduced and Warner greets Jadeja by lofting him to long-on for a boundary. Aus 116-3, 21 overs.
Warner complets a run-a-ball half century by tucking Sharma for a single. Aus 109-3, 20 overs.
Warner brings up the 100 of the innings in the 19th over by swatting Dhawan over the cover boundary for a six.
Dhawan strikes with a delivery that held up as Bailey pops a catch to mid-on off a leading edge. Aus 78-3, 14.5 overs.
George Bailey c Ishant Sharma b Rishi Dhawan 6 (14b)
Bumrah has taken the big wicket of Smith who is undone by a short ball pulling to short mid-on. Aus 64-2, 11.5 overs.
Steven Smith c Rohit Sharma b Bumrah 28 (37b 3x4)
Warner smacks Bumrah to square leg for a boundary with a majestic pull shot. Aus 61-1, 10 overs.
Smith gets into his stride with a couple of boundaries off Yadav on the leg side. Aus 53-1, 9 overs.
Smith cracks Ishant through point for his first boundary. Aus 39-1, 7 overs.
Warner gets into his stride by pulling Yadav to the square leg fence. Aus 23-1, 4 overs.
Finch hits the first six of the match with a solid straight hit over Ishant who has the last laugh after the batsman squares shoulders to be trapped leg before though replays suggested it would have missed the stumps. Aus 6-1, 1 over.
Aaron Finch lbw b I Sharma 6 (6b 1x4)
India have won the toss and opted to bowl in the fifth and final ODI at Sydney on Saturday.
Pandey and Bumrah come in as Bhuvneshwar and Rahane are injured.
Australia: AJ Finch, DA Warner, SPD Smith, GJ Bailey, SE Marsh, MR Marsh, MS Wade, JP Faulkner, JW Hastings, SM Boland, NM Lyon
India: RG Sharma, S Dhawan, V Kohli, MK Pandey, MS Dhoni, Gurkeerat Singh, RA Jadeja, R Dhawan, JJ Bumrah, UT Yadav, I Sharma
Australia skipper Steven Smith has stressed there will be no let up when they play the fifth and final one-day international against an Indian side staring at a series whitewash on Saturday.
The Australians stretched their one-day win streak to 18 matches after a stunning India collapse in the fourth one-day on Wednesday allowed the hosts to claim a 25-run victory.
Smith said he was pleased with his side's displays and was keen to wrap up a 5-0 series sweep before the three-match Twenty20 series begins next week.
"We've played some very good cricket against them of late," Smith said on Friday.
"We dominated them when they were out here last summer, we beat them in the World Cup semi-final and we're up 4-0 so we're in a good spot.
"Hopefully we can top it off tomorrow with a 5-0 whitewash."
India have not beaten Australia in any format since 2013. The tourists looked like ending that barren run when they were on 277 for one, chasing 349 for victory, only to lose their last nine wickets for 46 runs in Canberra.
India's chances of victory in Sydney on Saturday could be aided by the absence of Glenn Maxwell, who was struck on the knee during Wednesday's win.
The all-rounder went on to hit a crucial quick fire 41 at the end of the Australian innings to help post a winning target.
"He might have had something with his hamstring as well," Smith said of Maxwell's ailments.
"We'll wait and see how he pulls up and see how the team goes from there."
The ODI series has seen the two sides score close to 2500 runs combined with little help for both the fast and spin bowlers.
The test matches against New Zealand and West Indies also saw the 500-run mark breached on several occasions and Smith said he was "disappointed" with the docile surfaces at home.
"It'd be nice if the wickets that traditionally have a little bit more pace and bounce in them, the WACA and Gabba, were able to bring back those characteristics," Smith said.
"I've been a little bit disappointed with the way they've played throughout the whole summer in the two test matches against New Zealand on those respective pitches.
"The wickets didn't have a great deal of pace and bounce to them which we naturally see. It'd be great if that was brought back. I think that'll make it a little bit more even between bat and ball."