James Anderson surpassed Glen McGrath's record for most Test wickets by a seamer as England beat India by 118 runs at The Oval to seal a 4-1 series win.
KL Rahul (149) and Rishabh Pant (114) had given India hope of saving the game, and at one stage thoughts even turned to the prospect of a world-record chase of 464, before Adil Rashid (2-63) produced a ripper to bowl Rahul and break a superb 204-run partnership.
Anderson (3-45) was made to wait for his record-breaking wicket but after Sam Curran (2-23) had removed Ishant Sharma and Ravindra Jadeja, his moment arrived.
After Mohammed Shami played out the first two balls of the over, the Lancastrian knocked his middle pole out of the ground with the third to win the match for England and move past McGrath onto 564 Test wickets and into fourth place on the all-time list, now with only spinners ahead of him.
It crowned a Test filled with memorable moments, the last of which saw Anderson stand back and let Alastair Cook lead the team off the field in his final match for England.
For much of the day though, it appeared as though India would spoil the party with Rahul and Ajinkya Rahane easing through the first hour of the morning.
Moeen Ali (1-68) accounted for Rahane (37) and Ben Stokes (1-60) had Hamuna Vihari (0) caught behind in the next over but any hopes of a swift finish were soon dashed as Pant made himself at home in the middle.
Rahul got to his fifth Test hundred with a flurry of boundaries in an innings oozing with class and having made it through to lunch unscathed, Pant opened up in the afternoon and became the chief aggressor as the session went on.
He quickly reached his first Test fifty and then took just 39 balls to turn that into a century, bringing up the milestone in fine style by launching Rashid over deep midwicket for six in the penultimate over before tea.
That left India needing 166 to win in 33 overs in the final session and with an outside chance of a memorable and record-breaking win.
Pant was certainly keen to stay on the offensive but his determination to attack ultimately worked against the tourists as Joe Root opted against taking the second new ball immediately following a series of clumsy swipes from the left-hander against Rashid.
The decision paid off as Rashid produced a stunning delivery in his next over to bowl Rahul, pitching the ball in the rough well outside leg stump from around the wicket and ripping it past the right-hander to hit off.
Pant went in Rashid's next, attempting another big shot, failing to pick the googly and slicing the ball up to Ali at long off.
With both centurions gone, India were back to fighting for a draw but once the second new ball was taken they didn't last long.
Anderson was already into a mammoth spell either side of tea but it was Curran, named England's player of the series sharing the new ball with Stuart Broad off the field, who struck twice in two overs to nick out Sharma (5) and Jadeja (13).
From there it was over to Anderson and he did not waste his chance, uprooting Shami's middle stump with the third ball of the 14th over of his spell.
The 36-year-old's record-breaking wicket capped a fine series - the 4-1 scoreline giving a false impression given how closely matched the teams were for so long in the series - and officially brought down the curtain on the international career of another England great.