England batsman Alastair Cook marked his 291st and final test innings in fairytale fashion with a century as the hosts closed in on victory over India on the fourth day of the fifth test in London.
The 33-year-old scored 147 in a 259-run third wicket partnership of 259 with skipper Joe Root as England moved on from 114-2 to 423-8 declared.
Cook, England's most-capped test player and highest run scorer, was given numerous standing ovations from the crowd who flocked to the historic Oval ground, the longest and loudest when he completed his 33rd test century before lunch.
His 286-ball knock, which included 14 fours, helped Cook climb to fifth on the all-time list of test run scorers.
Root weighed in with 125 from 190 balls as he returned to form with his first test century for a year.
Cook's face broke into a broad smile and he removed his helmet, raising his bat to acknowledge the crowd before getting a hearty hug from Root. The applause seemed to go on forever.
"Sometimes dreams come true," Cook said. "You couldn't have scripted it. It was an unbelievable way to end. It was strange week but I was just determined not to get out early because it would have been an anti-climax.
"When I got to 50 I thought at least I've got the half century but when I got into the 80s I started to think that I had a chance. It's a perfect way to end."
Root and Cook were dismissed in consecutive balls by part-time off spinner Hanuma Vihari and a flurry of wickets went down as England looked to top up their total for a declaration.
Set 464 for victory India lost their first three wickets for two runs with James Anderson removing Shikhar Dhawan and Cheteshwar Pujara lbw in his second over.
When Stuart Broad removed Indian run machine Virat Kohli for a golden duck India were in disarray.
Anderson, 36, needs one more wicket to surpass the 563 of Australia's Glenn McGrath and become the most successful fast bowler in test history.
India, looking demoralised as their hopes of salvaging a consolation victory from a losing series evaporated, steadied the ship somewhat to end the day on 58-3.
Opener KL Rahul played some attractive shots to reach 46 at the close with Ajinkya Rahane on 10.
Despite Anderson's late burst, the day belonged to Cook and the final overs were played out to a chorus of fans chanting the name of England's most prolific batsman.
With 218 runs in his 161st match Cook guaranteed he will retire with a test average of 45.
And, fittingly, his final contribution for his country with the bat was a century against India -- the team he scored a debut ton against 12 years ago in Nagpur.
His total of 12,472 test runs puts him behind only India's Sachin Tendulkar, Australian Ricky Ponting, South Africa's Jacques Kallis and India's Rahul Dravid on the all-time list.