South Africa's Hashim Amla (L) speaks with teammate Faf du Plessis during the first day of a two day cricket match between the Indian Board President's XI and South Africa at The Brabourne Stadium in Mumbai on October 30, 2015. AFP PHOTO/ PUNIT PARANJPE ---- IMAGE RESTRICTED TO EDITORIAL USE - STRICTLY NO COMMERCIAL USE ---- (Photo credit should read PUNIT PARANJPE/AFP/Getty Images)

India has won the fourth Test by 337 runs, despite a stubborn resistance from South Africa.

India set the Proteas an improbable target of 481 for victory, before South Africa, knowing that a win was almost impossible, went about playing for the draw with some wonderfully stubborn defending, scoring at just one run an over.

Hashim Amla led the way with 25 runs from 244 balls, while AB de Villiers (43 from 297), Temba Bavuma (34 from 117) and Faf du Plessis (10 from 97) also proved a thorn in India's side.

The tourists looked like they may just be able pull off an impossible victory at one stage, but eventually collapsed, losing their last five wickets in five overs, to be bowled all out for 143 from 143.1 overs.

Ravi Ashwin took 5-61, while Yadav claimed three scalps and Jadeja, two.

India won the four match Test series 3-0.