Doncaster Rovers well deserved full points in this battle between two of the contenders in the Nationwide Conference championship race, which saw Scarborough go down to only their second defeat in 17 games.
Despite conceding a penalty the visitors had the edge on the play for much of the hard fought game which Rovers manager Dave Penney described as having a fine cup-tie atmosphere.
Scarborough, who were reduced to ten men after Neil Campbell was sent off, started strongly, but Rovers quickly settled down to produce some great moves thanks to their man of the match Tarkan Mustafa.
Paul Barnes emerged as Rovers' danger man, twice testing Scarborough keeper Andy Woods and putting the ball narrowly over the bar before finding the goal in the 23rd minute when he scored into an open goal from a throughball, after Scarborough's Mark Hotte had misjudged the situation and Woods was caught well out of his area.
Then, in the 35th minute, Rovers increased their lead from a six-yard header by Robert Gill, who was set up by Mustafa.
Poor finishing in front of goal repeatedly robbed Scarborough of success in their bid to reduce the arrears. Campbell was just a yard wide with an 18-yard drive as the Seasiders came back after the break with renewed confidence and David Pounder replaced Ryan Mallon.
Gareth Owen hit the crossbar for Rovers, but they suffered a setback when Scarborough were awarded a penalty after Pounder was tripped by Mark Albrighton and Paul Shepherd made no mistake with the resulting penalty in the 58th minute.
However Scarborough's hopes of getting back into the game were dashed seven minutes later when Jamie Paterson nipped in as Shepherd tried to head the ball back to Woods and he slammed the ball into the back of the net in the 65th minute, before producing a second goal after being set up by Barnes.
Scarborough substitute Nicky Henry scored his first for the side with seven minutes to go when a corner by Jason Blunt was pushed out from the goalmouth to Henry, who drove it past keeper Andy Warrington, giving him no chance.
Then with only a minute of ordinary time to go, Gill netted a second when the quick-thinking Mustafa played a well-placed ball on the run from Ricky Ravenhill to complete the scoring.
Manager Penney said later: "We were very focused and we created good chances and took advantage of them." Boro boss Russell Slade added: "Doncaster certainly deserved to win. Some of our players let themselves down and they will be reflecting on it. We gave away some soft goals."