Pujara falls behind Virender Sehwag (who scored this record in 81 innings) and Sunil Gavaskar (81) in the all-time list of the fastest Indian batsmen to score 4,000 Test runs.
This is also the 26th five-wicket haul for Ashwin in Test cricket, achieving the feat in his 51st appearance in the longest format of the game. Jadeja-Shami put on 30 quick runs for the ninth wicket.
Sri Lanka still trail India by 572 runs and will need to score at least 372 runs to avoid following on.
Kusal Mendis was hit on the helmet, the leg, the back and the foot while fielding at short leg, silly point and silly mid off during India's innings.More news: Nadal crashes out of Wimbledon, Murray reaches quarterfinals
Colombo, Aug 5 With the pitch showing no signs of aiding the bowlers, off-spinner Ravichandran Ashwin is pinning his hopes on the second new ball to give India breakthroughs on the fourth day of the second Test against Sri Lanka.
Rahane was stumped by Niroshan Dickwella for spinner Malinda Pushpakumara's maiden worldwide wicket.
With just above an hour to go before the stumps, captain Virat Kohli pressed in his top spinner Ashwin to attack, and the results were immediate - Upul Tharanga was dismissed for a duck after KL Rahul snatched a stunner in the opening minutes of the Lankan innings. "After the first innings we had a different approach and that paid off". It was the first instance of six half-centuries in one innings in a Test on Lankan soil and the second time for India after 2007 at the Oval.
However, opener Dimuth Karunaratne (92 batting) played carefully and one-down batsman Kusal Mendis (110) smashed a century to help Sri Lanka to a steady start in their second innings. Karunaratne was on 55, his 13th half-century, facing 97 balls and hitting seven boundaries. But he couldn't build on it, as Herath bowled him in the 122nd over. Karunaratne was out 25 as the off-spinner ended the day with 2-38 from 10 overs. He was asked to bowl the second over, and immediately made an impact, albeit with probably the worst ball he bowled on the day.
Lanka, who are trailing by 0-1 in the three-match series following their 304-run defeat in the first Test, will aim to bounce back and try to restrict India to as minimum as possible on Day Two.