India took the series 2-1, retaining the Border-Gavaskar Trophy, by chasing 330 on the final day of the fourth Test thanks to an innings of 91 from Shubman Gill, 21, and 89 not out from Rishabh Pant, 23.
With the talismanic captain Virat Kohli at home for the birth of his first child and injuries to their entire first-choice bowling attack, India have been faced with a crisis of availability on this tour.
They were bowled out for 36 to waste a strong position and lose the opening Test in Adelaide. Kohli then went home and the injuries began to mount, but they pulled off a legendary win in Melbourne, then survived for an extraordinary draw in Sydney.
At the Gabba, they had a bowling attack containing a total of four Test caps and two debutants. Just three players survived from the opening defeat at Adelaide. They conceded a first-innings deficit of 33, then Australia racked up 294 in their second innings.
But going into the last hour, all four results were possible and all three outcomes of the series, too. Pant held his nerve through the loss of Che Pujara, Washington Sundar and Shardul Thakur to hit four down the ground and complete an extraordinary win.