By
Chasing 136 for victory, the hosts lost wickets at crucial junctures before Dinesh Karthik (18 not out) and Mahendra Singh Dhoni (16 not out) took them home with four balls to spare.
The win ensured that India end the year on a high before embarking on their high-profile tour of South Africa that starts with the first Test on January 5 in Cape Town.