Riding on Shikhar Dhawan's century and Shreyas Iyer's fifty, India outclassed the Lankans to win the series 2-1.