Perfect Pasture's unbeaten run came to an end as he could finish no better than fourth behind Rivellino in the Compare Bookmakers At bookmakers.co.uk Handicap at Lingfield.
The Mick Easterby-trained Perfect Pasture had won his last six outings, rising from a lowly perch of 57 to a mark of 100.
However, that proved a step too far as he could only keep on at one pace as Rivellino (8/1) stayed on strongly to snatch the glory in the dying strides.
Karl Burke's charge prevailed by a neck over Alben Star in the hands of Daniel Tudhope, with favourite Absolutely So beaten the same distance back in third.
Indian Jack had earlier justified support as he landed the Coral Mobile 'Just Three Clicks To Bet' Handicap as the 11/4 market leader.
Luke Morris kicked for home inside the final furlong and despite the best efforts of Shavansky, the Ed Walker-trained Indian Jack emerged a three-quarter-length victor.