A David Warner century has inspired Australia to a one-day international victory over India, restoring some pride with the series already lost.
Warner's 124 in his 100th match helped his side set India 335 to win, a target which the hosts fell 21 runs short of after some classy bowling at the death from Australia.
While India won the five-match series after winning the first three encounters, Australia snapped an 11-game losing streak away from home in Thursday's fourth ODI in Bangalore.
India were on target until an outstanding piece of fielding from skipper Steve Smith gave Australia a crucial breakthrough at 135-1.
His save at backward point sparked confusion between Virat Kohli and Rohit Sharma, who ended up at the same end as his partner before being run out at the other end.
It was a major blow for India after Sharma whacked five sixes in his innings of 65 off 55 balls.
Kohli, who was dropped by Travis Head on six, looked set to make the Australians pay until he edged an attempted late cut off Nathan Coulter-Nile onto his stumps on 21.
Hardik Pandya and Kedar Jadhav put on 78 for the fourth wicket until Adam Zampa got some revenge on his chief tormentor.
The legspinner went for 41 off his first five overs, but bounced back with the vital wicket of Pandya (41) who was caught on the boundary by David Warner.
Australian pacemen Coulter-Nile, Kane Richardson and Pat Cummins were exceptional in final overs with Jadhav (67) and Manish Pandey (33) departing and MS Dhoni (15) unable to rescue the chase.
Richardson took the wickets of Ajinkya Rahane for 53, as well as Jadhav and Dhoni, and finished with 3-58.
Earlier, a 231-run opening stand from Warner and Aaron Finch set a superb foundation after Steve Smith won the toss and chose to bat.
A mini-collapse stunted the momentum of the innings as Warner, Finch (94) and Smith (three) departed in the space of 14 balls with Australia losing 3-5.
Head never got going in his knock of 29 off 38 balls after being elevated ahead of Smith to bat at No. 3.
Peter Handscomb made a handy 43, while Marcus Stoinis chipped in with 15 from nine balls to round out Australia's innings.