World Cup Pool B, Perth:
West Indies 182 (44.2 overs): Holder 57, Sammy 26, Shami 3-35
India 185-6 (39.1 overs): Dhoni 45no, Kohli 33, Taylor 2-33.
Set a modest 183 to win by the West Indies in the Pool B match, the Indians made hard work of the run chase before captain Mahendra Singh Doni steered them home.
India became the second team to seal their progress to the Cricket World Cup quarter-finals as they recorded a good four-wicket win over West Indies.
The defending champions looked set for a comfortable victory in Pool B when they reduced West Indies to 85-7.
But captain Jason Holder made a brilliant 57 at number nine to stretch the total to 182, before India faltered to 107-5 in reply.
It was left to skipper MS Dhoni to see India home with a composed unbeaten 45.
Despite the modest target, India were in trouble when Dhoni came to the crease, with Jerome Taylor (2-33) and Kemar Roach (1-44) having dismantled the top order.
But just as he did in the 2011 World Cup final, and in countless other one-day internationals, the captain guided India to victory with cool shot-making under substantial pressure.
As well as guaranteeing their qualification for the knockout stages, India are now in pole position to finish top of Pool B, having won all their matches and with only fixtures against Ireland and Zimbabwe remaining.
West Indies meanwhile are far from certain to advance from the group, having won just two of their five matches.
Their fate will depend on the results of the remaining matches involving Ireland and Pakistan, and may come down to net run rate.