The second Test between India and New Zealand at Eden Gardens ended in a win by 178 runs for the hosts, and they also took back the number one ICC Test ranking.
Pakistan had been keeping the top spot warm for a few weeks, but India made light work of the Kiwi batsmen on day four in Kolkata, taking seven wickets in the evening session, to win the series.
Spinners Ravi Ashwin and Ravi Jadeja took three wickets each as the Black Caps were bowled out for 197 just before stumps, adding to the 204 they managed in the first innings.
The day began with India still batting in their second dig, though already holding a hefty 300-pus lead. They lost their two remaining wickets within 15 overs, setting the Kiwis 376 to win.
But it was always going to be about survival on the increasingly spinning deck, and the Kiwis did rather well initially. Tom Latham and Martin Guptill put on an opening stand of 55 before the latter was out for 24.
Henry Nicholls was also out for 24, during which time Latham advanced to his half century, and it looked like the Kiwis could make it to day five, where rain awaited to help them.
But Ross Taylor was also out before the tea break, leaving them three down at the interval. Seven wickets in the final session seemed like a lot to ask of the bowlers.
But Mohammed Shami was up to the task as well, bowling a brilliant spell of pace to keep the Kiwis on their toes, and he too claimed three wickets in the knock.
He removed BJ Watling and Mitchell Santner in the evening, and then claimed the final wicket of the match with the new ball, just minutes before the close.