India wrapped up a thrilling series win over Australia with an eight-wicket win in the fourth Test in Dharamsala.

Left with a chase of 106 following their skittling of Australia for 137 on Monday, they came into the fourth day requiring another 87 runs to win and they did it for the loss of two wickets, with Lokesh Rahul and Ajinkya Rahane seeing them to a 2-1 series win.

Rahul finished with 51 not out and Rahane added an unbeaten 38 as India ensured there would be no dramas when there might have been after Australia took two wickets in the seventh over of the day.

Murali Vijay fell with the score on 46 when he nicked a moving ball from Pat Cummins and then Cheteshwar Pujara needlessly ran himself out for a duck five balls later.

Australia players celebrate the dismissal of Chetesh Pujara (Reuters)

But Rahul and Rahane put their foot down and raced across the winning line with a partnership of 61 off 59 balls, with Rahul going past 50 as he hit the winning runs.