India survived a nervy final session before wrapping up a 72-run victory over Australia in the third Test at Perth.
Chasing 413, the hosts threatened to pull off a stunning victory after a ninth wicket stand of 73 got the target in sight.
But Irfan Pathan and RP Singh claimed the final two wickets to deny Australia a world record 17th succesive Test win.
It was Australia's first Test defeat since losing at Trent Bridge in the Ashes in 2005.
The series heads for the fourth and final Test in Adelaide with India needing another win to level the series at 2-2.
The Australians had started the fourth day on 65-2 and suffered an early blow when captain Ricky Ponting fell for 45 in the morning session, caught by Rahul Dravid at first slip off Ishant Sharma.
After lunch the middle order struggled. Mike Hussey went for 46 when he was trapped lbw by RP Singh and Andrew Symonds went in similar fashion for 12 to skipper Anil Kumble.
Part-time spinner Virender Sehwag claimed the next two wickets, bowling Adam Gilchrist around his legs for 15 then dismissing Brett Lee for a duck, caught at silly mid off by VVS Laxman.
Michael Clarke led the fightback, occupying the crease for almost three hours in making 81, but threw his wicket away when he came down the pitch to Kumble and was stumped by Mahendra Singh Dhoni.
That set up an an entertaining ninth wicket stand between Mitchell Johnson and Stuart Clark.
The two pacemen decided to go on the attack and the tactic paid off as they put on 73 runs in just 55 minutes to get their team to within 100 of winning.
But the partnership ended when Clark was caught behind off Pathan for 32 and India wrapped up victory when RP Singh bowled Shaun Tait for four, leaving Johnson on 50 not out.
India also ended Australia's first 16-match winning streak when they beat them at Calcutta in 2001.